diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-04-02 23:21:23 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-04-02 23:21:23 +0100 |
commit | 52c1dabd0ea242b59047a596ebf7362fffac0a7f (patch) | |
tree | 42da43bbac65818bde8bb5d1b997fcf3d859771f /core/models_caves.py | |
parent | bd8d59b343767261e6025048b78d90ff2a9288a5 (diff) | |
download | troggle-52c1dabd0ea242b59047a596ebf7362fffac0a7f.tar.gz troggle-52c1dabd0ea242b59047a596ebf7362fffac0a7f.tar.bz2 troggle-52c1dabd0ea242b59047a596ebf7362fffac0a7f.zip |
survex_file field inconsistency detection & edit
Diffstat (limited to 'core/models_caves.py')
-rw-r--r-- | core/models_caves.py | 3 |
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) |