Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Was seeing an error in the logs where this wasn't defined, and it was…

… failing on the append call, so this should fix it.
  • Loading branch information...
commit 6ff379d10f642c468f67c2f425cfaf7df893ac5d 1 parent 8c1ab90
@lehrblogger authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  scripts/manage_foursquare_data.py
View
1  scripts/manage_foursquare_data.py
@@ -64,6 +64,7 @@ def fetch_and_store_checkins(userinfo, limit):
uservenue.venue_guid = str(j_venue['id'])
uservenue.update_location()
uservenue.user = userinfo.user
+ if not uservenue.checkin_guid_list:
uservenue.checkin_guid_list = []
uservenue.checkin_guid_list.append(str(checkin['id']))
userinfo.checkin_count += 1
Please sign in to comment.
Something went wrong with that request. Please try again.