Skip to content

Commit

Permalink
Fixed register_cron() work with periods
Browse files Browse the repository at this point in the history
  • Loading branch information
idlesign committed Apr 4, 2018
1 parent 2138004 commit 001e602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uwsgiconf/runtime/scheduling.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def func_action_wrapper(*args, **kwargs):
return func_action(*args, **kwargs)

args = []
for arg_name in {'minute', 'hour', 'day', 'month', 'weekday'}:
for arg_name in ['minute', 'hour', 'day', 'month', 'weekday']:
arg = task_args_casted.get(arg_name, None)
args.append(-1 if arg is None else arg)

Expand Down

0 comments on commit 001e602

Please sign in to comment.