Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2014-07-28 16:21:25 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-07-28 16:21:25 (GMT)
commit77cc1020f4c7527b0066538028a12567e168fd07 (patch)
tree8a0f1026ed30c76c28ae3bdb6b062db6e920df83
parent3fa59c6825c9e898898b15dba759670113078a77 (diff)
Handle a URI when the activity startsHEADmaster
Needed by the tests.
-rw-r--r--readactivity.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/readactivity.py b/readactivity.py
index 479c2bc..0f16fae 100644
--- a/readactivity.py
+++ b/readactivity.py
@@ -369,6 +369,8 @@ class ReadActivity(activity.Activity):
if self._jobject.file_path is not None and \
self._jobject.file_path != '':
self.read_file(self._jobject.file_path)
+ elif handle.uri:
+ self._load_document(handle.uri)
else:
# Not joining, not resuming or resuming session without file
emptypanel.show(self, 'activity-read',