mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 12:47:49 -06:00
Just a stupid mistake
.reverse() does not return anything (None)
This commit is contained in:
parent
3a61cf3152
commit
7d2b329e78
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ import sys
|
||||||
# incompatibility issues with libArcus
|
# incompatibility issues with libArcus
|
||||||
if "PYTHONPATH" in os.environ.keys(): # If PYTHONPATH is used
|
if "PYTHONPATH" in os.environ.keys(): # If PYTHONPATH is used
|
||||||
PYTHONPATH = os.environ["PYTHONPATH"].split(os.pathsep) # Get the value, split it..
|
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
|
for PATH in PYTHONPATH: # Now beginning with the last PATH
|
||||||
PATH_real = os.path.realpath(PATH) # Making the the path "real"
|
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..
|
if PATH_real in sys.path: # This should always work, but keep it to be sure..
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue