diff options
author | goatchurch <devnull@localhost> | 2009-08-01 07:31:27 +0100 |
---|---|---|
committer | goatchurch <devnull@localhost> | 2009-08-01 07:31:27 +0100 |
commit | 907746289386da6b6342752a0628742905a59a69 (patch) | |
tree | 8e5a438392ddace01694734a3420877e42da79e1 /core/views_caves.py | |
parent | 7158a79a347d99fb1f8e94e034f2d79e08ad9172 (diff) | |
download | troggle-907746289386da6b6342752a0628742905a59a69.tar.gz troggle-907746289386da6b6342752a0628742905a59a69.tar.bz2 troggle-907746289386da6b6342752a0628742905a59a69.zip |
[svn] now with ability to make new svx file
Diffstat (limited to 'core/views_caves.py')
-rw-r--r-- | core/views_caves.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/views_caves.py b/core/views_caves.py index 04f2120..82d4b94 100644 --- a/core/views_caves.py +++ b/core/views_caves.py @@ -51,6 +51,8 @@ def ent(request, cave_id, ent_letter): 'letter': cave_and_ent.entrance_letter,})
def survexblock(request, survexpath):
+ survexpath = re.sub("/", ".", survexpath)
+ print "jjjjjj", survexpath
survexblock = models.SurvexBlock.objects.get(survexpath=survexpath)
#ftext = survexblock.filecontents()
ftext = survexblock.text
|