Skip to content

Commit

Permalink
int division switched to // to stay out of python3 danger zone
Browse files Browse the repository at this point in the history
  • Loading branch information
rshorey committed Jun 3, 2015
1 parent c5200cd commit 8cb2512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/unlock_bad_photos.py
Expand Up @@ -17,7 +17,7 @@ def unlock(person):

print("{_id} - {photo_url}".format(**person))

if requests.get(person['photo_url']).status_code / 100 == 2:
if requests.get(person['photo_url']).status_code // 100 == 2:
return

# Right, we've got a photo_url, but it sucks. Let's go and unlock
Expand Down

0 comments on commit 8cb2512

Please sign in to comment.