Skip to content

Commit

Permalink
Correct invalid date exception handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
wagnerrp committed Jul 7, 2013
1 parent 2764bf4 commit d061321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmdb3/tmdb_api.py
Expand Up @@ -79,7 +79,7 @@
def process_date(datestr):
try:
return datetime.date(*[int(x) for x in datestr.split('-')])
except TypeError:
except ValueError:
import sys
import warnings
import traceback
Expand Down

0 comments on commit d061321

Please sign in to comment.