anthonynsimon/timeflake

The KeyError when invalid value is passed to TimeflakeBinary

Salmela opened this issue · 1 comments

The invalid key does not exist anymore. I got this error

  File "/.../lib/python3.9/site-packages/timeflake/extensions/django/__init__.py", line 64, in to_python
    self.error_messages["invalid"], code="invalid", params={"value": value},
KeyError: 'invalid'

self.error_messages["invalid"], code="invalid", params={"value": value},

#18 fixed this, thank you!