make mypy happy
This commit is contained in:
parent
6b144150c7
commit
e4e22167bb
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user