@@ -228,7 +228,7 @@ class BasicWorkflow(object):
|
|||||||
return_code = 'already-realized'
|
return_code = 'already-realized'
|
||||||
message = u'Event was already realized.'
|
message = u'Event was already realized.'
|
||||||
elif code.startswith('realize'):
|
elif code.startswith('realize'):
|
||||||
if event.first_day <= today:
|
if event.first_day > today:
|
||||||
valid = False
|
valid = False
|
||||||
return_code = 'not-started'
|
return_code = 'not-started'
|
||||||
message = u'Event has not begun.'
|
message = u'Event has not begun.'
|
||||||
|
|||||||
Reference in New Issue
Block a user