diff options
-rw-r--r-- | DeductoActivity.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/DeductoActivity.py b/DeductoActivity.py index b5929c7..a29c9bd 100644 --- a/DeductoActivity.py +++ b/DeductoActivity.py @@ -70,6 +70,8 @@ class DeductoActivity(activity.Activity): self._playing = True self._game_over = False + self._python_code = None + self._setup_toolbars(_have_toolbox) self._setup_dispatch_table() @@ -294,7 +296,6 @@ class DeductoActivity(activity.Activity): def _load_python_code_from_journal(self, dsobject): ''' Read the Python code from the Journal object ''' - self._python_code = None try: _logger.debug("opening %s " % dsobject.file_path) |