From c6bae348fa3c5f40d67e2076e4c1ceee42a3bc4b Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 5 Sep 2010 23:48:17 +0200 Subject: gui fix, plugin with no main function fix --- pyLoadCore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyLoadCore.py') 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: -- cgit v1.2.3