From f874dc7a70fd66a320882bcc1fd71e8324918f2c Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Sun, 3 Aug 2008 22:36:00 -0300 Subject: [PATCH 1/1] Apply os.path.realpath() to *_path config variables to support relative paths --- blitiri.cgi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/blitiri.cgi b/blitiri.cgi index 1dadce5..f13e59a 100755 --- a/blitiri.cgi +++ b/blitiri.cgi @@ -60,6 +60,10 @@ except: pass +# Pimp *_path config variables to support relative paths +data_path = os.path.realpath(data_path) +templates_path = os.path.realpath(templates_path) + # Default template default_main_header = """ -- 2.43.0