summaryrefslogtreecommitdiff
path: root/src/croniter/croniter.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/croniter/croniter.py')
-rw-r--r--src/croniter/croniter.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/croniter/croniter.py b/src/croniter/croniter.py
index 10e453c..ace3bd2 100644
--- a/src/croniter/croniter.py
+++ b/src/croniter/croniter.py
@@ -116,8 +116,11 @@ class croniter(object):
if t in self.LOWMAP[i]:
t = self.LOWMAP[i][t]
- if t not in ["*", "l"] and (int(t) < self.RANGES[i][0] or
- int(t) > self.RANGES[i][1]):
+ if (
+ t not in ["*", "l"]
+ and (int(t) < self.RANGES[i][0] or
+ int(t) > self.RANGES[i][1])
+ ):
raise ValueError(
"[{0}] is not acceptable, out of range".format(
expr_format))