config: Fix date_from type return value.
This commit is contained in:
parent
f9c045a63e
commit
620816fe72
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ def currency_code(s):
|
||||||
|
|
||||||
def date_from(fmt_s):
|
def date_from(fmt_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
|
return date_from_fmt
|
||||||
|
|
||||||
class Configuration:
|
class Configuration:
|
||||||
|
|
Loading…
Reference in a new issue