@@ -353,7 +353,7 @@ def main():
url = 'https://www.google.com.tw/maps/@{},{},18z?hl=zh-TW'.format(latitude, longitude)
prev_cnt=0
- cursor = db.query('select count(*) as cnt from swire_store_list where num="'+str(repnum)+'" ')
+ cursor = db.query('select count(*) as cnt from swire_store_list where num="'+str(area_num)+'" ')
for c in cursor:
prev_cnt=c['cnt']
break
@@ -387,7 +387,7 @@ def main():
sys.exit()
pass
aft_cnt=0
aft_cnt=c['cnt']