call set_loggers() and pass sys.argv to main

This commit is contained in:
gcarq 2018-03-18 01:55:43 +01:00
parent e6732e01e1
commit 5ed6f70010

View File

@ -1,4 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
from freqtrade.main import main import sys
main()
from freqtrade.main import main, set_loggers
set_loggers()
main(sys.argv[1:])