diff options
author | James Vasile <james@jamesvasile.com> | 2013-02-09 13:28:52 -0500 |
---|---|---|
committer | James Vasile <james@jamesvasile.com> | 2013-02-09 13:29:52 -0500 |
commit | f80e30342dd16bc432652375abcf8a179ea72182 (patch) | |
tree | 65bcddf75483a079413284754854429ba8c1ea5a | |
parent | 561231612871c68b038397c4c26368a3ee37ac86 (diff) |
adjust name of sqlite file bc withsqlite will add the extension
-rw-r--r-- | cfg.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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] |