make mypy happy

This commit is contained in:
hroff-1902 2019-05-30 21:00:16 +03:00
parent 6b144150c7
commit e4e22167bb
1 changed files with 3 additions and 4 deletions

View File

@ -12,7 +12,7 @@ if sys.version_info < (3, 6):
# flake8: noqa E402 # flake8: noqa E402
import logging import logging
from argparse import Namespace from argparse import Namespace
from typing import List from typing import Any, List
from freqtrade import OperationalException from freqtrade import OperationalException
from freqtrade.arguments import Arguments from freqtrade.arguments import Arguments
@ -29,12 +29,11 @@ def main(sysargv: List[str] = None) -> None:
:return: None :return: None
""" """
return_code: Any = 1
worker = None
try: try:
set_loggers() set_loggers()
worker = None
return_code = 1
arguments = Arguments( arguments = Arguments(
sysargv, sysargv,
'Free, open source crypto trading bot' 'Free, open source crypto trading bot'