Browse Source

Just a stupid mistake
.reverse() does not return anything (None)

Thomas-Karl Pietrowski 9 years ago
parent
commit
7d2b329e78
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura_app.py

+ 1 - 1
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..