Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
Diffstat (limited to 'activity.py')
-rw-r--r--activity.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/activity.py b/activity.py
index 38389da..9d01613 100644
--- a/activity.py
+++ b/activity.py
@@ -22,7 +22,7 @@ License: GPLv3 http://gplv3.fsf.org/
import tools
# provides all of the code to implement a game activity
-import olpcgames
+import olpcgamesbridge as olpcgames
import pygame
# provides the classes from sugar
@@ -56,7 +56,8 @@ class BridgeActivity(olpcgames.PyGameActivity):
game_title = 'Bridge'
game_size = None # olpcgame will choose size
- def __init__(self):
+ def __init__(self, handle):
+ super(BridgeActivity, self).__init__(handle)
self.blocklist = []
self.radiolist = {}