Fix sqlite relative path in cgi
parent
decb3f15f6
commit
cafb87d561
|
@ -591,7 +591,7 @@ def cgi_app(environ, start_response):
|
||||||
else:
|
else:
|
||||||
headers['content-type'] = 'text/xml'
|
headers['content-type'] = 'text/xml'
|
||||||
|
|
||||||
crawler.sqlite_default = os.getcwd() + '/morss-cache.db'
|
crawler.sqlite_default = os.path.join(os.getcwd(), 'morss-cache.db')
|
||||||
|
|
||||||
# get the work done
|
# get the work done
|
||||||
rss = Fetch(url, options)
|
rss = Fetch(url, options)
|
||||||
|
|
Loading…
Reference in New Issue