1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Fixed issue of forbidden error

This commit is contained in:
echel0n 2014-06-18 02:13:22 -07:00
parent c9f800128e
commit 29c5c4de4d
2 changed files with 1 additions and 3 deletions

View File

@ -3282,7 +3282,7 @@ class Home(IndexHandler):
# do a hard restart
if not sickbeard.AUTO_UPDATE:
threading.Timer(2, sickbeard.invoke_restart, [False]).start()
t = PageTemplate(file="restart_bare.tmpl")
return _munge(t)
else:

View File

@ -114,8 +114,6 @@ def initWebServer(options={}):
app.add_handlers(".*$", [
(r'%s/(favicon\.ico)' % options['web_root'], MultiStaticFileHandler,
{'paths': [os.path.join(options['data_root'], 'images/ico/favicon.ico')]}),
(r'%s/(.*)(/?)' % options['web_root'], MultiStaticFileHandler,
{'paths': [options['data_root']]}),
(r'%s/%s/(.*)(/?)' % (options['web_root'], 'images'), MultiStaticFileHandler,
{'paths': [os.path.join(options['data_root'], 'images'),
os.path.join(sickbeard.CACHE_DIR, 'images'),