Insert src folder at first position of sys.path
This commit is contained in:
parent
d8f1387703
commit
fd632fc63b
1 changed files with 1 additions and 1 deletions
2
run
2
run
|
|
@ -16,7 +16,7 @@ I don't know anything about).
|
|||
"""
|
||||
os.rename(old, os.path.join(basedir, "octoprint.backup"))
|
||||
|
||||
sys.path.append(os.path.join(basedir, "src"))
|
||||
sys.path.insert(0, os.path.join(basedir, "src"))
|
||||
|
||||
import octoprint
|
||||
octoprint.main()
|
||||
|
|
|
|||
Loading…
Reference in a new issue