Python 3 Start

This commit is contained in:
Luke Rogers 2014-03-06 11:45:00 +13:00
parent 9f029c8ceb
commit 141fe8d80c
67 changed files with 264 additions and 274 deletions

View file

@ -44,7 +44,7 @@ def get_episode_info(episode, api_key):
first_aired = episode.findtext("FirstAired")
try:
air_date = datetime.date(*map(int, first_aired.split('-')))
air_date = datetime.date(*list(map(int, first_aired.split('-'))))
except (ValueError, TypeError):
return None