Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/talogo.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2009-03-29 21:44:11 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-03-29 21:44:11 (GMT)
commitfcd5d2db7e15e4de50579d0ab54d49d18f69125a (patch)
tree651a77510af9e68201b3b7c5d28a6801df120c62 /talogo.py
parent7791cf357149e29b279090251ab0769fda9a3fe1 (diff)
fix bug preventing launch from outside of Sugar
Diffstat (limited to 'talogo.py')
-rw-r--r--talogo.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/talogo.py b/talogo.py
index 65a96b8..d606ee6 100644
--- a/talogo.py
+++ b/talogo.py
@@ -28,7 +28,10 @@ import audioop
from math import *
import subprocess
from UserDict import UserDict
-from sugar.datastore import datastore
+try:
+ from sugar.datastore import datastore
+except:
+ pass
class noKeyError(UserDict):
__missing__=lambda x,y: 0