From 60dcb82ef6ca4faf4b7e2e5cb2d407961af5ea3f Mon Sep 17 00:00:00 2001 From: goatchurch Date: Sat, 1 Aug 2009 07:31:27 +0100 Subject: [svn] now with ability to make new svx file --- core/views_caves.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/views_caves.py') 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 -- cgit v1.2.3