diff options
-rw-r--r-- | NEWS | 9 | ||||
-rw-r--r-- | pippy_app.py | 4 |
2 files changed, 7 insertions, 6 deletions
@@ -1,7 +1,8 @@ -* #8471: Allow resuming Chat log in Write -* #8411: Add license to activity.info -* Remove parameter from bundlebuilder.start -* Add update_url for software updater +* #8772: Fix journal entry creation in Chat for uri-list (kevix) +* #8471: Allow resuming Chat log in Write (morgs) +* #8411: Add license to activity.info (morgs) +* Remove parameter from bundlebuilder.start (morgs) +* Add update_url for software updater (morgs) 45 diff --git a/pippy_app.py b/pippy_app.py index 32f34aa..a6b3163 100644 --- a/pippy_app.py +++ b/pippy_app.py @@ -526,11 +526,11 @@ class Chat(ViewSourceActivity): } for k,v in metadata.items(): jobject.metadata[k] = v - file_path = os.path.join(self.get_activity_root(), 'tmp', + file_path = os.path.join(self.get_activity_root(), 'instance', '%i_' % time.time()) open(file_path, 'w').write(url + '\r\n') os.chmod(file_path, 0755) - jobject.file_path = file_path + jobject.set_file_path(file_path) datastore.write(jobject) show_object_in_journal(jobject.object_id) jobject.destroy() |