Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/model.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-02-13 01:03:07 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-02-13 01:03:07 (GMT)
commit03be821e6a5fcee2ad7a3dbd433276357ed4b8ae (patch)
tree9d0c61c0fbe7eaf273e736265b39aaf5e8c5546f /model.py
parent4ad228fbf024e6f7ca6026d367714533e07b5f4e (diff)
Add window to edit the map in the activity.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'model.py')
-rw-r--r--model.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/model.py b/model.py
index 6198578..d8f8a92 100644
--- a/model.py
+++ b/model.py
@@ -27,6 +27,8 @@ class GameModel:
'file_text' = ''}
"""
+ self.data['map_data'] = None
+
def write(self, file_name):
instance_path = os.path.join(activity.get_activity_root(), 'instance')