4090bef
#!/usr/bin/python
4090bef
import os
c5fe418
import sys
4090bef
import CuraLulzbot.cura as cura
c5fe418
c5fe418
# Make all paths absolute, we are gonna change the pwd
c5fe418
for i in range(len(sys.argv)):
c5fe418
    if os.path.exists(sys.argv[i]):
c5fe418
        sys.argv[i] = os.path.abspath(sys.argv[i])
c5fe418
c5fe418
# change the pwd
c5fe418
os.chdir("/usr/lib/python2.7/site-packages/")
c5fe418
c5fe418
# start cura
4090bef
cura.main()