Skip to content

Commit

Permalink
Changed to iteritems() as this will be more future proof
Browse files Browse the repository at this point in the history
  • Loading branch information
p0psicles committed Feb 27, 2016
1 parent f7d81b7 commit 1bbb34c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sickbeard/webserve.py
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ def manualSelectCheckCache(self, show, season, episode, **kwargs):
if not kwargs:
return {'result': 'idle'}

last_prov_updates = kwargs.items()[0][0]
last_prov_updates = kwargs.iteritems().next()[0]
last_prov_updates = json.loads(last_prov_updates.replace("'", '"'))
main_db_con = db.DBConnection('cache.db')

Expand Down

0 comments on commit 1bbb34c

Please sign in to comment.