Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

Commit

Permalink
Be less precise
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Dec 1, 2015
1 parent 831b993 commit 1cf38d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memento/timegate/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def parse_datetime(self, request):
# Verify that the Accept-Datetime header is valid
try:
dt = dateparser(request.META.get("HTTP_ACCEPT_DATETIME"))
except ValueError:
except:
dt = None
if not dt:
return HttpResponse(
Expand Down

0 comments on commit 1cf38d9

Please sign in to comment.