Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/colors.py
diff options
context:
space:
mode:
Diffstat (limited to 'colors.py')
-rwxr-xr-xcolors.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/colors.py b/colors.py
index 457888a..f9984cb 100755
--- a/colors.py
+++ b/colors.py
@@ -39,7 +39,13 @@ except (ImportError, AttributeError):
import simplejson as json
# Import the C++ component of the activity.
-from colorsc.colorsc import *
+try:
+ from colorsc.colorsc import *
+except:
+ try:
+ from colorsc.linux32.colorsc import *
+ except:
+ from colorsc.linux64.colorsc import *
# Import PyGTK.
import gobject, pygtk, gtk, pango