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:29:49 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-02-03 13:29:49 (GMT)
commit7ae60da4a97263c7f2d95cdc934f1e3c0a62f45d (patch)
treeccd5efb485608c81bfb81f1d68db81ff26b2b226 /TurtleArtActivity.py
parent1d0d737ca4c611a21337b8aa57d7367f73ca651d (diff)
fixed save bug
Diffstat (limited to 'TurtleArtActivity.py')
-rw-r--r--TurtleArtActivity.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py
index 826d79f..8adb01a 100644
--- a/TurtleArtActivity.py
+++ b/TurtleArtActivity.py
@@ -279,7 +279,6 @@ class TurtleArtActivity(activity.Activity):
tafile = os.path.join(tmppath,"tmpfile.ta")
print tafile
try:
- # FIXME: encapsulation?
data_to_file(self.tw.assemble_data_to_save(), tafile)
except:
_logger.debug("couldn't save snapshot to journal")
@@ -1010,7 +1009,7 @@ class TurtleArtActivity(activity.Activity):
def write_file(self, file_path):
_logger.debug("Write file: %s" % file_path)
self.metadata['mime_type'] = 'application/x-turtle-art'
- data_to_file(self.tw.assemble_data_to_save(), file_path+'.ta')
+ data_to_file(self.tw.assemble_data_to_save(), file_path)
"""
Read a project in and then run it