From 7d2b329e78491c4bd8ab8ad84965de494906f55f Mon Sep 17 00:00:00 2001 From: Thomas-Karl Pietrowski Date: Thu, 21 Apr 2016 20:23:07 +0200 Subject: [PATCH] Just a stupid mistake .reverse() does not return anything (None) --- cura_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura_app.py b/cura_app.py index f7b03e273a..dc748435f9 100755 --- a/cura_app.py +++ b/cura_app.py @@ -15,7 +15,7 @@ import sys # incompatibility issues with libArcus if "PYTHONPATH" in os.environ.keys(): # If PYTHONPATH is used PYTHONPATH = os.environ["PYTHONPATH"].split(os.pathsep) # Get the value, split it.. - PYTHONPATH = PYTHONPATH.reverse() # and reverse it, because we always insert at 1 + PYTHONPATH.reverse() # and reverse it, because we always insert at 1 for PATH in PYTHONPATH: # Now beginning with the last PATH PATH_real = os.path.realpath(PATH) # Making the the path "real" if PATH_real in sys.path: # This should always work, but keep it to be sure..