diff --git a/rtxPage.py b/rtxPage.py index f2b8577..c7b834e 100644 --- a/rtxPage.py +++ b/rtxPage.py @@ -36,7 +36,7 @@ class rtxPage: def exists(page): """ checks if the page (i.e. the file) exists """ for path in config.PAGES: - if os.path.isfile(path + page) or os.path.isfile(path + page + ".cept"): + if os.path.isfile(path + page) or os.path.isfile(path + page + ".cept") or os.path.isfile(path + page.lower()) or os.path.isfile(path + page.lower() + ".cept"): return True return False