Skip to content

Commit

Permalink
Fixed #1195 -- Fixed formfields.TimeField bug introduced in [1872]
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1883 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Jan 9, 2006
1 parent 580a8eb commit 7573756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/core/formfields.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ def html2python(data):
if (len(part_list) == 2):
t = t.replace(microsecond=int(part_list[1]))
return t
except (ValueError, TypeError):
except (ValueError, TypeError, AttributeError):
return None
html2python = staticmethod(html2python)

Expand Down

0 comments on commit 7573756

Please sign in to comment.