diff options
Diffstat (limited to 'lorrycontroller')
-rw-r--r-- | lorrycontroller/readconf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lorrycontroller/readconf.py b/lorrycontroller/readconf.py index 23dfff1..512b558 100644 --- a/lorrycontroller/readconf.py +++ b/lorrycontroller/readconf.py @@ -174,7 +174,7 @@ class ReadConfiguration(lorrycontroller.LorryControllerRoute): return default_interval m = re.match('(\d+)\s*(s|m|h|d)?', value, re.I) if not m: - return default_value + return default_interval number, factor = m.groups() factors = { |