]> git.pld-linux.org Git - packages/cura.git/blobdiff - cura
- updated to 2.5.0
[packages/cura.git] / cura
diff --git a/cura b/cura
index 738e76f19a3aa3a23afbd174cdcce5aa72b71245..a21d361914c9fd6086bb2d9922699ed8906c1c62 100755 (executable)
--- a/cura
+++ b/cura
@@ -1,15 +1,8 @@
 #!/usr/bin/python
 import os
-import sys
-import Cura.cura as cura
+os.environ['GDK_BACKEND'] = 'x11'
 
-# Make all paths absolute, we are gonna change the pwd
-for i in range(len(sys.argv)):
-    if os.path.exists(sys.argv[i]):
-        sys.argv[i] = os.path.abspath(sys.argv[i])
+import Cura.cura as cura
 
-# change the pwd
-os.chdir("/usr/%s/python2.7/site-packages/" % sys.lib)
 
-# start cura
 cura.main()
This page took 0.086047 seconds and 4 git commands to generate.