Fix sqlite relative path in cgi

master
pictuga 2015-04-07 09:37:25 +08:00
parent decb3f15f6
commit cafb87d561
1 changed files with 1 additions and 1 deletions

View File

@ -591,7 +591,7 @@ def cgi_app(environ, start_response):
else:
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
rss = Fetch(url, options)