summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautoimport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoimport.py b/autoimport.py
index 8c61a18..6db6171 100755
--- a/autoimport.py
+++ b/autoimport.py
@@ -90,7 +90,7 @@ def main():
help="location of the database")
options, args = parser.parse_args()
tmpdir = tempfile.mkdtemp(prefix=b"debian-dedup")
- db = sqlalchemy.create_engine("sqlite:///test.sqlite3")
+ db = sqlalchemy.create_engine(options.database)
enable_sqlite_foreign_keys(db)
e = concurrent.futures.ThreadPoolExecutor(multiprocessing.cpu_count())
pkgs = {}