Remove binary script - allow None arguemnts
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user