return None if subcommand has been executed

This commit is contained in:
gcarq
2018-03-24 20:55:10 +01:00
parent 9d443b8bd8
commit 4c97ee45dd

View File

@@ -32,7 +32,7 @@ def main(sysargv: List[str]) -> None:
# Means if Backtesting or Hyperopt have been called we exit the bot
if hasattr(args, 'func'):
args.func(args)
return 0
return
logger.info(
'Starting freqtrade %s (loglevel=%s)',