fix windows-specific init issue with named tuple

This commit is contained in:
xmatthias
2018-06-08 19:46:07 +02:00
parent 5f93c5e789
commit 8effc5f929
2 changed files with 3 additions and 3 deletions

View File

@@ -243,7 +243,7 @@ class Arguments(object):
:return: Start and End range period
"""
if text is None:
return TimeRange()
return TimeRange(None, None, 0, 0)
syntax = [(r'^-(\d{8})$', (None, 'date')),
(r'^(\d{8})-$', ('date', None)),
(r'^(\d{8})-(\d{8})$', ('date', 'date')),