crawler: SQLITE_PATH point to .db file instead of folder

master
pictuga 2021-03-25 23:48:21 +01:00
parent 6ea9d012a2
commit 981da9e66a
1 changed files with 1 additions and 1 deletions

View File

@ -721,7 +721,7 @@ if 'CACHE' in os.environ:
elif os.environ['CACHE'] == 'sqlite': elif os.environ['CACHE'] == 'sqlite':
if 'SQLITE_PATH' in os.environ: if 'SQLITE_PATH' in os.environ:
path = os.getenv('SQLITE_PATH') + '/morss-cache.db' path = os.getenv('SQLITE_PATH')
else: else:
path = ':memory:' path = ':memory:'