Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt
diff options
context:
space:
mode:
authorAlan Aguiar <alanjas@hotmail.com>2013-01-29 20:14:55 (GMT)
committer Alan Aguiar <alanjas@hotmail.com>2013-01-29 20:14:55 (GMT)
commitaa4626c5ea05aa34788615a6792d40b683a6f0e6 (patch)
tree32412f3dfc2a077e1a7b9832e62bba9019b08c4a /TurtleArt
parenta53cd196e7493dab9a7207a3b39eb1065cf54ba7 (diff)
fix file name in save_for_upload function of tawindow
Diffstat (limited to 'TurtleArt')
-rw-r--r--TurtleArt/tawindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py
index bf241f7..4749ca2 100644
--- a/TurtleArt/tawindow.py
+++ b/TurtleArt/tawindow.py
@@ -3864,7 +3864,7 @@ may not terminate.', False)
def save_for_upload(self, file_name):
''' Grab the current canvas and save it for upload '''
if not file_name.endswith(SUFFIX):
- ta_name = file_name + SUFFIX[1]
+ ta_file = file_name + SUFFIX[1]
image_file = file_name + '.png'
else:
ta_file = file_name