Browse Source

Fixed issue of forbidden error

tags/release_0.1.0
echel0n 11 years ago
parent
commit
29c5c4de4d
  1. 2
      sickbeard/webserve.py
  2. 2
      sickbeard/webserveInit.py

2
sickbeard/webserve.py

@ -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:

2
sickbeard/webserveInit.py

@ -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'),

Loading…
Cancel
Save