Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make GrocScheduler actually work if you use a raw string

  • Loading branch information...
commit 6142b95d78dbfd0a85a2d41887f87e9abc1ac143 1 parent b8a3051
@rhettg authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  tron/config.py
View
3  tron/config.py
@@ -576,9 +576,10 @@ def from_string(self, scheduler_str):
return DailyScheduler(*scheduler_args).actualized
if scheduler_name == "interval":
return IntervalScheduler(''.join(scheduler_args)).actualized
+
m = scheduler.GROC_SCHEDULE_RE.match(scheduler_str.lower())
if m:
- return GrocScheduler(scheduler_str)
+ return GrocScheduler(scheduler_str).actualized
raise ConfigError("Unknown scheduler %r" % scheduler_str)
Please sign in to comment.
Something went wrong with that request. Please try again.