From 1b1e34b035288127e0a2519be7809f7a433a1332 Mon Sep 17 00:00:00 2001 From: Matthew Scragg Date: Fri, 24 Oct 2014 14:55:12 -0500 Subject: [PATCH] fix wiki locked pages var --- realms/config/__init__.py | 5 +++-- realms/version.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/realms/config/__init__.py b/realms/config/__init__.py index f3bf4b0..7995a3e 100644 --- a/realms/config/__init__.py +++ b/realms/config/__init__.py @@ -125,13 +125,14 @@ FIREBASE_HOSTNAME = None # Page names that can't be modified WIKI_LOCKED_PAGES = [] -# Depreciated variable name -LOCKED = WIKI_LOCKED_PAGES[:] ROOT_ENDPOINT = 'wiki.page' globals().update(read()) +# Depreciated variable name +LOCKED = WIKI_LOCKED_PAGES[:] + if BASE_URL.endswith('/'): BASE_URL = BASE_URL[-1] diff --git a/realms/version.py b/realms/version.py index c943575..e95e634 100644 --- a/realms/version.py +++ b/realms/version.py @@ -1 +1 @@ -__version__ = '0.4.2' \ No newline at end of file +__version__ = '0.4.3' \ No newline at end of file