Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/services/datastore/sugar-data-store
diff options
context:
space:
mode:
Diffstat (limited to 'services/datastore/sugar-data-store')
-rwxr-xr-x[-rw-r--r--]services/datastore/sugar-data-store6
1 files changed, 5 insertions, 1 deletions
diff --git a/services/datastore/sugar-data-store b/services/datastore/sugar-data-store
index 7940c74..823dbe0 100644..100755
--- a/services/datastore/sugar-data-store
+++ b/services/datastore/sugar-data-store
@@ -28,5 +28,9 @@ sys.path.insert(0, env.get_services_dir())
logger.start('data-store')
logging.info('Starting the data store...')
-from datastore import datastore
+try:
+ from datastore import datastore
+except ImportError:
+ import datastore
+
datastore.main()