diff options
Diffstat (limited to 'activity.py')
-rw-r--r-- | activity.py | 7 |
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 |