Skip to content

Commit

Permalink
forgot 'as inst'
Browse files Browse the repository at this point in the history
 Noticed while investigating #3, thanks adnz
  • Loading branch information
oldlaptop committed Nov 28, 2015
1 parent cf0f675 commit 70b5504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iheart-url
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def print_url (station_id):
logging.warning (inst)
attempts += 1
time.sleep (2);
except RuntimeError:
except RuntimeError as inst:
logging.error (inst)
return
else:
Expand Down

0 comments on commit 70b5504

Please sign in to comment.