Insert src folder at first position of sys.path

(cherry picked from commit fa564c6)
This commit is contained in:
Gina Häußge committed 2014-06-22 01:09:22 +02:00
1 parent 4cc1dc405f
commit f693f26ffc
1 file changed
+1 -1
+1 -1
View File
@@ -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()