Open SerErris opened 1 year ago
Please ignore.
I see you have update the script with a new line: print(f'[INFO] Script successfully started - python %s' %sys.version_info.major)
However I think this is better, because it generates better output: import platform
and change the line to the following: print('[INFO] Script successfully started - python %s' % platform.python_version())
The results in both versions to: python3 ExtendedUnrar.py [INFO] Script successfully started - python 3.9.2
python2 ExtendedUnrar.py [INFO] Script successfully started - python 2.7.18
That should then universally work with current python releases.
Does not run with python 3.x which is in current nzbget docker container.
It requires changes of the print commands to replace the %s thing with print(f'something {variable}')