From f615117b96174ba8aec94999e5d8811d8a67ae3a Mon Sep 17 00:00:00 2001 From: Fierelier Date: Mon, 14 Feb 2022 23:54:20 +0100 Subject: [PATCH] Fix incompatibility with Python 3.4 --- modules/http/file-handlers/htaccess.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/http/file-handlers/htaccess.py b/modules/http/file-handlers/htaccess.py index f2b64ba..8570dd0 100644 --- a/modules/http/file-handlers/htaccess.py +++ b/modules/http/file-handlers/htaccess.py @@ -5,7 +5,8 @@ def main(): pathl = [] for pathbit in paths: pathl.append(pathbit) - path = p(*pathl,".fhtpyaccess") + pathle = pathl + [".fhtpyaccess"] + path = p(*pathle) if not os.path.isfile(path): continue handlePYP(env,path) if env["htaccessPropagate"] == False: