Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/turtleblocks.py
diff options
context:
space:
mode:
Diffstat (limited to 'turtleblocks.py')
-rwxr-xr-xturtleblocks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/turtleblocks.py b/turtleblocks.py
index 98d89d9..7f0ca8f 100755
--- a/turtleblocks.py
+++ b/turtleblocks.py
@@ -219,7 +219,8 @@ return %s(self)" % (p, P, P)
turtle_canvas=self.turtle_canvas,
activity=self, running_sugar=False)
self.tw.save_folder = self._abspath # os.path.expanduser('~')
- if self.client.get_int(self._HOVER_HELP) == 1:
+ if hasattr(self, 'client') and \
+ self.client.get_int(self._HOVER_HELP) == 1:
self.hover.set_active(False)
self._do_hover_help_off_cb(None)