Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
Diffstat (limited to 'activity.py')
-rw-r--r--activity.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/activity.py b/activity.py
index da66477..1947f35 100644
--- a/activity.py
+++ b/activity.py
@@ -24,7 +24,12 @@ from gi.repository import Gtk
from gi.repository import Gdk
from gi.repository import GObject
import os
-import simplejson
+
+try:
+ import json
+except ImportError:
+ import simplejson as json
+
import locale
import logging
import utils