config: Fix date_from type return value.

This commit is contained in:
Brett Smith 2017-05-17 12:45:19 -04:00
parent f9c045a63e
commit 620816fe72

View file

@ -20,7 +20,7 @@ def currency_code(s):
def date_from(fmt_s):
def date_from_fmt(s):
return datetime.datetime.strptime(s, fmt_s).date
return datetime.datetime.strptime(s, fmt_s).date()
return date_from_fmt
class Configuration: