diff options
-rw-r--r-- | restore.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -46,7 +46,8 @@ import sugar.logger try: import json -except ImportError: + json.dumps +except (ImportError, AttributeError): import simplejson as json |
index : ~flavio/restore/restoregtk3 | ||
7475039f09b505929d466b20c15089190b |
summaryrefslogtreecommitdiffstats |
-rw-r--r-- | restore.py | 3 |
@@ -46,7 +46,8 @@ import sugar.logger try: import json -except ImportError: + json.dumps +except (ImportError, AttributeError): import simplejson as json |