From 981da9e66a3c478d1950ecd5b60d65fcaa601ad3 Mon Sep 17 00:00:00 2001 From: pictuga Date: Thu, 25 Mar 2021 23:48:21 +0100 Subject: [PATCH] crawler: SQLITE_PATH point to .db file instead of folder --- morss/crawler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/crawler.py b/morss/crawler.py index 164fa75..d25e8f6 100644 --- a/morss/crawler.py +++ b/morss/crawler.py @@ -721,7 +721,7 @@ if 'CACHE' in os.environ: elif os.environ['CACHE'] == 'sqlite': if 'SQLITE_PATH' in os.environ: - path = os.getenv('SQLITE_PATH') + '/morss-cache.db' + path = os.getenv('SQLITE_PATH') else: path = ':memory:'