minor cleanup

This commit is contained in:
mdipierro
2012-08-31 14:27:50 -05:00
parent 43ac53f6a1
commit dba7247b44
3 changed files with 5 additions and 7 deletions
+2 -2
View File
@@ -9,10 +9,10 @@ if '__file__' in globals():
elif hasattr(sys, 'frozen'):
path = os.path.dirname(os.path.abspath(sys.executable)) # for py2exe
else: #should never happen
path = os.getcwd()
path = os.getcwd()
os.chdir(path)
sys.path = [path]+[p for p in sys.path if not p==path]
sys.path = [path]+[p for p in sys.path if not p == path]
# import gluon.import_all ##### This should be uncommented for py2exe.py
import gluon.widget