summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormar77i <mar77i@protonmail.ch>2020-01-19 11:50:03 +0100
committermar77i <mar77i@protonmail.ch>2020-01-19 11:50:03 +0100
commit4d68a0ba2d787a2aa93149072b5b80e9b437e6a8 (patch)
tree6e0287e56fe7b9330bb5078f56cdc5bf652dae0f
parent21f56d7275426d5ca35e1b94a22284bdbb0f91ef (diff)
fix database extension
-rw-r--r--.gitignore2
-rwxr-xr-xshortcut/api.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 456817a..621ff48 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
.coverage
htmlcov
__pycache__/
-urls.sqlite
+urls.sqlite3
venv/
diff --git a/shortcut/api.py b/shortcut/api.py
index 4d4875e..ee9b44f 100755
--- a/shortcut/api.py
+++ b/shortcut/api.py
@@ -7,7 +7,7 @@ import sys
class URLResolver:
- conn = sqlite3.connect(os.path.join(os.getcwd(), "urls.sqlite"))
+ conn = sqlite3.connect(os.path.join(os.getcwd(), "urls.sqlite3"))
def __call__(self, req, resp):
c = self.conn.cursor()