Closed MoeBile closed 3 months ago
You have called Controller.py without any parameters. The IndexError then always occurs because no exception handling is implemented.
sys.argv simply does not contain an index 1 when called without any parameters, but only the index 0 with Controller.py as the value.
To start the downloader, call Downloader.py in a suitable Python environment. Then you end up in the CLI or can control the downloader via Controller.py.
OK, got it working. Thanks.
Tried to stat up the downloadr and got this error:
\StreaMonitor-master>python Controller.py Traceback (most recent call last): File "C:\Users\Donald\Documents\StreaMonitor-master\Controller.py", line 5, in
if sys.argv[1].startswith("-h"):