Remove orphaned file and cleanup class naming.

This commit is contained in:
JackDandy 2014-11-13 05:36:47 +00:00
parent bdf35d5d55
commit c03429a25a
3 changed files with 3 additions and 3 deletions

View file

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

View file

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