summaryrefslogtreecommitdiffstats
path: root/core/models_caves.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/models_caves.py')
-rw-r--r--core/models_caves.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/models_caves.py b/core/models_caves.py
index c5d3945..ddfb2c9 100644
--- a/core/models_caves.py
+++ b/core/models_caves.py
@@ -189,7 +189,8 @@ class Cave(TroggleModel):
subprocess.call(settings.FIX_PERMISSIONS)
f = open(os.path.join(settings.CAVEDESCRIPTIONS, self.filename), "wb")
t = loader.get_template('dataformat/cave.xml')
- c = Context({'cave': self})
+ #c = Context({'cave': self})
+ c = dict({'cave': self})
u = t.render(c)
u8 = u.encode("utf-8")
f.write(u8)