Minor cosmetics in start_trading

This commit is contained in:
hroff-1902 2020-01-27 02:49:25 +03:00
parent 27d46ed06f
commit 33645e45fd

View File

@ -10,8 +10,10 @@ def start_trading(args: Dict[str, Any]) -> int:
""" """
Main entry point for trading mode Main entry point for trading mode
""" """
# Import here to avoid loading worker module when it's not used
from freqtrade.worker import Worker from freqtrade.worker import Worker
# Load and run worker
# Create and run worker
worker = None worker = None
try: try:
worker = Worker(args) worker = Worker(args)