mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
make --days positive int only
This commit is contained in:
parent
dc0326db27
commit
cd60d6d99a
|
@ -470,7 +470,7 @@ class Arguments(object):
|
|||
'--days',
|
||||
help='Download data for given number of days.',
|
||||
dest='days',
|
||||
type=int,
|
||||
type=Arguments.check_int_positive,
|
||||
metavar='INT',
|
||||
)
|
||||
self.parser.add_argument(
|
||||
|
|
Loading…
Reference in New Issue
Block a user