Commit 1882e4e6 authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

controllers/notifications.py adjusted method identifiers that were changed by...

controllers/notifications.py adjusted method identifiers that were changed by import in previous commit
parent 4b4dfd49
......@@ -80,7 +80,7 @@ def add_form():
erro += "expiration date required"
else:
try:
datetime.datetime.strptime(""+request.vars['expiration'], '%Y-%m-%d')
datetime.strptime(""+request.vars['expiration'], '%Y-%m-%d')
except ValueError:
error += "date (wrong format)"
......@@ -135,7 +135,7 @@ def edit_form():
error += "expiration date required"
else:
try:
datetime.datetime.strptime(""+request.vars['expiration'], '%Y-%m-%d')
datetime.strptime(""+request.vars['expiration'], '%Y-%m-%d')
except ValueError:
error += "date (wrong format)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment