Remove binary script - allow None arguemnts
This commit is contained in:
parent
7406edfd8f
commit
17d614c66a
@ -1,7 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
|
||||
from freqtrade.main import main, set_loggers
|
||||
set_loggers()
|
||||
main(sys.argv[1:])
|
@ -6,9 +6,7 @@ To launch Freqtrade as a module
|
||||
> python -m freqtrade (with Python >= 3.6)
|
||||
"""
|
||||
|
||||
import sys
|
||||
|
||||
from freqtrade import main
|
||||
|
||||
if __name__ == '__main__':
|
||||
main.main(sys.argv[1:])
|
||||
main.main()
|
||||
|
@ -23,7 +23,7 @@ from freqtrade.worker import Worker
|
||||
logger = logging.getLogger('freqtrade')
|
||||
|
||||
|
||||
def main(sysargv: List[str]) -> None:
|
||||
def main(sysargv: List[str] = None) -> None:
|
||||
"""
|
||||
This function will initiate the bot and start the trading loop.
|
||||
:return: None
|
||||
@ -81,4 +81,4 @@ def main(sysargv: List[str]) -> None:
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main(sys.argv[1:])
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user