Merge pull request #878 from freqtrade/fix_timeframe_issue

fix windows-specific init issue with named tuple
This commit is contained in:
Michael Egger
2018-06-08 22:44:06 +02:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -248,7 +248,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')),