From f80e30342dd16bc432652375abcf8a179ea72182 Mon Sep 17 00:00:00 2001 From: James Vasile Date: Sat, 9 Feb 2013 13:28:52 -0500 Subject: [PATCH] adjust name of sqlite file bc withsqlite will add the extension --- cfg.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cfg.py b/cfg.py index 74ad88d2e..4d2480695 100644 --- a/cfg.py +++ b/cfg.py @@ -38,3 +38,5 @@ html_root = None main_menu = Menu() base_href = "" +if store_file.endswith(".sqlite3"): + store_file = os.path.splitext(store_file)[0]