From 7ae60da4a97263c7f2d95cdc934f1e3c0a62f45d Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Wed, 03 Feb 2010 13:29:49 +0000 Subject: fixed save bug --- (limited to 'TurtleArtActivity.py') 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 -- cgit v0.9.1