summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index c1c1f8fbb..30468bac2 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -416,7 +416,7 @@ class Core(object):
def shutdown(self):
self.log.info(_("shutting down..."))
try:
- if self.config['webinterface']['activated']:
+ if self.config['webinterface']['activated'] and hasattr(self, "webserver"):
self.webserver.quit()
#self.webserver.join()
for thread in self.threadManager.threads: