From 47ac607f12ef7ef875b1a7676d4599aa1a07c321 Mon Sep 17 00:00:00 2001 From: Marc Maurer Date: Tue, 13 Nov 2007 15:01:09 +0000 Subject: Use 'instance' instead of 'data' as a path prefix; part of 4850 --- (limited to 'toolbar.py') diff --git a/toolbar.py b/toolbar.py index e59d058..955b54f 100644 --- a/toolbar.py +++ b/toolbar.py @@ -80,7 +80,7 @@ class WriteActivityToolbarExtension: fileObject.metadata['fulltext'] = self._abiword_canvas.get_content(extension_or_mimetype=".txt")[:3000] # write out the document contents in the requested format - fileObject.file_path = os.path.join(self._activity.get_activity_root(), 'data', '%i' % time.time()) + fileObject.file_path = os.path.join(self._activity.get_activity_root(), 'instance', '%i' % time.time()) self._abiword_canvas.save('file://' + fileObject.file_path, mimetype, exp_props) # store the journal item -- cgit v0.9.1