Change working dir to enable skeinforge detection

master
kliment 2011-07-21 15:17:40 +02:00
parent dffa62023c
commit 929c245069
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,11 @@ except:
print "WX is not installed. This program requires WX to run." print "WX is not installed. This program requires WX to run."
raise raise
import printcore, os, sys, glob, time, threading, traceback, StringIO, gviz import printcore, os, sys, glob, time, threading, traceback, StringIO, gviz
try:
os.chdir(os.path.split(__file__)[0])
except:
pass
thread=threading.Thread thread=threading.Thread
winsize=(800,500) winsize=(800,500)
if os.name=="nt": if os.name=="nt":