From 57f01e6584fd3286e456b90cf953f22d31a9ff0b Mon Sep 17 00:00:00 2001 From: JackDandy Date: Sun, 14 Dec 2014 19:01:32 +0000 Subject: [PATCH] Fix restart issue. --- CHANGES.md | 1 + SickBeard.py | 1 - sickbeard/webserveInit.py | 4 +--- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 3ff14b20..ccb0721d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -35,6 +35,7 @@ * Fix table alignment on homepage * Fix duplicate entries in cache database * Fix network sorting on home page +* Fix restart issue ### 0.4.0 (2014-12-04 10:50:00 UTC) diff --git a/SickBeard.py b/SickBeard.py index 684e6501..d9522c57 100755 --- a/SickBeard.py +++ b/SickBeard.py @@ -25,7 +25,6 @@ import signal import sys import shutil import subprocess -import socket if sys.version_info < (2, 6): print "Sorry, requires Python 2.6 or 2.7." diff --git a/sickbeard/webserveInit.py b/sickbeard/webserveInit.py index 0f8aaa5e..528dae4a 100644 --- a/sickbeard/webserveInit.py +++ b/sickbeard/webserveInit.py @@ -136,6 +136,4 @@ class WebServer(threading.Thread): def shutDown(self): self.alive = False - if self.server: - self.server.stop() - self.io_loop.stop() \ No newline at end of file + self.io_loop.stop() \ No newline at end of file