Ticket #2293: move-to-current-dir-before-start.patch
File move-to-current-dir-before-start.patch, 518 bytes (added by rgs, 14 years ago) |
---|
-
turtleart.py
diff --git a/turtleart.py b/turtleart.py index b655449..32eec11 100755
a b class TurtleMain(): 116 116 def __init__(self): 117 117 """ Parse command-line options and initialize class """ 118 118 119 # If we are invoked to start a project from Gnome, we should make 120 # sure our current directory is TA's source dir. 121 os.chdir(os.path.dirname(__file__)) 122 119 123 self.ta_file = None 120 124 self.output_png = False 121 125 self.uploading = False