Skip to content

Commit

Permalink
a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
domino14 committed Aug 24, 2018
1 parent d3074ca commit fc7770b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions djAerolith/wordwalls/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,6 @@ def date_from_str(dt):

today = timezone.localtime(timezone.now()).date()
try:
# strptime has multithreading issues on Python 2 and this is
# an occasional error. XXX: Move to Python 3 already.
ch_date = strptime(dt, '%Y-%m-%d').date()
except (ValueError, TypeError):
ch_date = today
Expand Down

0 comments on commit fc7770b

Please sign in to comment.