mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-12 19:23:55 +00:00
add empty worker variable
This commit is contained in:
parent
edc0d7f2c7
commit
6e0655b3b7
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user