From 10f637b1c0cbc86c2b0ffd580a2a865371e26796 Mon Sep 17 00:00:00 2001 From: Emily Date: Fri, 14 Feb 2020 10:29:21 +0100 Subject: [PATCH] Fixed linux path system --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])