Changeset - 620816fe724a
[Not reviewed]
0 1 0
Brett Smith - 7 years ago 2017-05-17 16:45:19
brettcsmith@brettcsmith.org
config: Fix date_from type return value.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
oxrlib/config.py
Show inline comments
...
 
@@ -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:
0 comments (0 inline, 0 general)