diff --git a/main.py b/main.py index c6d7f68..a9cb694 100644 --- a/main.py +++ b/main.py @@ -11,7 +11,7 @@ STD_HANDLE = 1 # Would want this to be 0, but it can cause issues if len(sys.argv) < 2: # Randomly select a shader from glob import glob from random import choice - module = import_module( choice( glob("shaders/*.py") ).rstrip(".py").replace("\\", ".") ) + module = import_module( choice( glob("shaders/*.py") ).rstrip(".py").replace("\\", ".").replace("/",".") ) else: module = import_module("shaders.%s" % sys.argv[1])