Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin/copy-from-journal
diff options
context:
space:
mode:
Diffstat (limited to 'bin/copy-from-journal')
-rwxr-xr-xbin/copy-from-journal3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/copy-from-journal b/bin/copy-from-journal
index 61b91c9..9be49d4 100755
--- a/bin/copy-from-journal
+++ b/bin/copy-from-journal
@@ -9,6 +9,9 @@ import os
import shutil
import optparse
+if os.path.exists("/tmp/olpc-session-bus"):
+ os.environ["DBUS_SESSION_BUS_ADDRESS"] = "unix:path=/tmp/olpc-session-bus"
+
from sugar.datastore import datastore
import sugar.mime