diff --git a/oxrlib/config.py b/oxrlib/config.py index 17d75c3..92dcffc 100644 --- a/oxrlib/config.py +++ b/oxrlib/config.py @@ -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: