mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-20 16:43:43 +00:00
Remove orphaned file and cleanup class naming.
This commit is contained in:
parent
bdf35d5d55
commit
c03429a25a
3 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ import getopt
|
|||
import sickbeard
|
||||
from sickbeard import db, logger, network_timezones, failed_history, name_cache, versionChecker
|
||||
from sickbeard.tv import TVShow
|
||||
from sickbeard.webserveInit import SRWebServer
|
||||
from sickbeard.webserveInit import WebServer
|
||||
from sickbeard.databases.mainDB import MIN_DB_VERSION, MAX_DB_VERSION
|
||||
from sickbeard.event_queue import Events
|
||||
from lib.configobj import ConfigObj
|
||||
|
@ -339,7 +339,7 @@ class SickGear(object):
|
|||
|
||||
# start web server
|
||||
try:
|
||||
self.webserver = SRWebServer(self.web_options)
|
||||
self.webserver = WebServer(self.web_options)
|
||||
self.webserver.start()
|
||||
except IOError:
|
||||
logger.log(u"Unable to start web server, is something else running on port %d?" % self.startPort,
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 11 KiB |
|
@ -36,7 +36,7 @@ class MultiStaticFileHandler(StaticFileHandler):
|
|||
raise HTTPError(404)
|
||||
|
||||
|
||||
class SRWebServer(threading.Thread):
|
||||
class WebServer(threading.Thread):
|
||||
def __init__(self, options={}, io_loop=None):
|
||||
threading.Thread.__init__(self)
|
||||
self.daemon = True
|
||||
|
|
Loading…
Reference in a new issue