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 | 60dcb82ef6ca4faf4b7e2e5cb2d407961af5ea3f (patch) | |
tree | d8fa1d3e8bb222e4068b694df0dc42ce3aa9980f /core/views_caves.py | |
parent | b135ab64e7873169e8a3c973f3ea9d0fbb18e319 (diff) | |
download | troggle-60dcb82ef6ca4faf4b7e2e5cb2d407961af5ea3f.tar.gz troggle-60dcb82ef6ca4faf4b7e2e5cb2d407961af5ea3f.tar.bz2 troggle-60dcb82ef6ca4faf4b7e2e5cb2d407961af5ea3f.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
|