diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-08-23 17:03:55 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-08-23 17:03:55 (GMT) |
commit | f6723d0d0279be1cd2bf4a424e56e4199da53605 (patch) | |
tree | 08f8703aff2297cb38cdba5cd98fa3c4edefec63 /turtleblocks.py | |
parent | ff265445f1f7999bfd5689831061157d30447c62 (diff) |
if COORDINATE_SCALE is not set, default is 0
Diffstat (limited to 'turtleblocks.py')
-rwxr-xr-x | turtleblocks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/turtleblocks.py b/turtleblocks.py index 796b441..b16766a 100755 --- a/turtleblocks.py +++ b/turtleblocks.py @@ -231,7 +231,7 @@ return %s(self)" % (p, P, P) if self.client.get_int(self._HOVER_HELP) == 1: self.hover.set_active(False) self._do_hover_help_off_cb(None) - if self.client.get_int(self._COORDINATE_SCALE) != 1: + if not self.client.get_int(self._COORDINATE_SCALE) in [0, 1]: self.tw.coord_scale = 1 else: self.tw.coord_scale = 0 |