Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArtActivity.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-02-03 13:26:23 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-02-03 13:26:23 (GMT)
commit1d0d737ca4c611a21337b8aa57d7367f73ca651d (patch)
tree533a7e95288eea629c9142b8ee9234d872c3a105 /TurtleArtActivity.py
parent7d2fccad55a866ce977e190b120d117a8ad2c59c (diff)
cleaned up some method name changes in export functions
Diffstat (limited to 'TurtleArtActivity.py')
-rw-r--r--TurtleArtActivity.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py
index 8afbd9f..826d79f 100644
--- a/TurtleArtActivity.py
+++ b/TurtleArtActivity.py
@@ -59,8 +59,8 @@ import sys
import re
from constants import *
-from taexporthtml import *
-from taexportlogo import *
+from taexporthtml import save_html
+from taexportlogo import save_logo
from tautils import *
import tawindow
import talogo
@@ -245,10 +245,7 @@ class TurtleArtActivity(activity.Activity):
# Write the file to the instance directory of this activity's root.
file_path = os.path.join(datapath, filename)
-
- # FIXME: this was like this before refactoring, the save_pict
- # belongs to taproject (not tawindow)
- self.tw.save_pict(file_path)
+ save_picture(self.tw.canvas, file_path)
# Create a datastore object
dsobject = datastore.create()