Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DeductoActivity.py3
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)