diff --git a/bin/__pycache__/handler.cpython-311.pyc b/bin/__pycache__/handler.cpython-311.pyc index 8548fb7..fe5be8c 100644 Binary files a/bin/__pycache__/handler.cpython-311.pyc and b/bin/__pycache__/handler.cpython-311.pyc differ diff --git a/bin/__pycache__/probe.cpython-311.pyc b/bin/__pycache__/probe.cpython-311.pyc index cd2cf33..634b7b5 100644 Binary files a/bin/__pycache__/probe.cpython-311.pyc and b/bin/__pycache__/probe.cpython-311.pyc differ diff --git a/bin/handler.py b/bin/handler.py index e5829e1..859eca8 100755 --- a/bin/handler.py +++ b/bin/handler.py @@ -21,7 +21,11 @@ import time importedModules = {} engineList = os.listdir( 'bin/engines' ); -engineList.pop( 0 ) +counter = 0; +for element in engineList: + if ( element == '__pycache__' ): + engineList.pop( counter ); + counter += 1; for element in engineList: importedModules[ element ] = importlib.import_module( 'bin.engines.' + element + '.' + element ).Scaler() diff --git a/packaging/prepareWindowsPackaging.sh b/packaging/prepareWindowsPackaging.sh index 477ab6e..42fd0fc 100755 --- a/packaging/prepareWindowsPackaging.sh +++ b/packaging/prepareWindowsPackaging.sh @@ -1,4 +1,4 @@ -curl -o ./pythonInstaller.exe https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe +curl -o ./pythonInstaller.exe https://www.python.org/ftp/python/3.11.3/python-3.11.3-amd64.exe wine pythonInstaller.exe diff --git a/smuL-cli.py b/smuL-cli.py index a817cda..cae66ef 100644 --- a/smuL-cli.py +++ b/smuL-cli.py @@ -14,7 +14,11 @@ import multiprocessing import json engineList = os.listdir( 'bin/engines' ); -engineList.pop( 0 ) +counter = 0; +for element in engineList: + if ( element == '__pycache__' ): + engineList.pop( counter ); + counter += 1; engineInfo = {}