aboutsummaryrefslogtreecommitdiff
path: root/modules/nr.py
diff options
context:
space:
mode:
authorGravatar Evelyn2017-08-27 14:46:16 +0100
committerGravatar Evelyn2017-08-27 14:46:16 +0100
commite69a0c3937bb9b337845488f0000ddeda0ea5f36 (patch)
tree71fdbd1f23cc90e6ba7cdbc7a97cc340dc9fa040 /modules/nr.py
parentImplement 'time' parameter (diff)
signature
NR: Expand period
Diffstat (limited to 'modules/nr.py')
-rw-r--r--modules/nr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nr.py b/modules/nr.py
index f487ff06..5c0a65a3 100644
--- a/modules/nr.py
+++ b/modules/nr.py
@@ -136,7 +136,7 @@ class Module(object):
"plat": ('', lambda x: len(x) <= 3),
"type": ("departure", lambda x: x in ["departure", "arrival", "both"]),
"terminating": (False, lambda x: type(x)==type(True)),
- "period": (120, lambda x: x.isdigit() and 1 <= int(x) <= 240, lambda x: int(x)),
+ "period": (30, lambda x: x.isdigit() and 1 <= int(x) <= 480, lambda x: int(x)),
"nonpassenger": (False, lambda x: type(x)==type(True)),
"time": ("", lambda x: len(x)==4 and x.isdigit()),
"tops": (None, lambda x: len(x)<4 and x.isdigit()),