crawler: SQLITE_PATH point to .db file instead of folder
parent
6ea9d012a2
commit
981da9e66a
|
@ -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:'
|
||||||
|
|
Loading…
Reference in New Issue