From cfe419e5b5a3f9328d6bedbe6ff0bc1caa746a57 Mon Sep 17 00:00:00 2001 From: Lars Immisch Date: Sun, 31 Jan 2016 17:36:53 +0100 Subject: [PATCH] Fix presumed typo I assume a trailing slash should be removed --- realms/config/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realms/config/__init__.py b/realms/config/__init__.py index 3bb8644..a11bab5 100644 --- a/realms/config/__init__.py +++ b/realms/config/__init__.py @@ -178,7 +178,7 @@ LOGIN_DISABLED = ALLOW_ANON LOCKED = WIKI_LOCKED_PAGES[:] if BASE_URL.endswith('/'): - BASE_URL = BASE_URL[-1] + BASE_URL = BASE_URL[:-1] SQLALCHEMY_DATABASE_URI = DB_URI