add empty worker variable

This commit is contained in:
Matthias 2019-11-16 09:47:35 +01:00
parent edc0d7f2c7
commit 6e0655b3b7

View File

@ -45,6 +45,7 @@ def start_trading(args: Dict[str, Any]) -> int:
""" """
from freqtrade.worker import Worker from freqtrade.worker import Worker
# Load and run worker # Load and run worker
worker = None
try: try:
worker = Worker(args) worker = Worker(args)
worker.run() worker.run()