From 56754bcdbd15db520318a88ac779e1eb027853a8 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 2 Jun 2011 17:01:59 +0200 Subject: added several checks to improve stability --- module/PluginThread.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'module/PluginThread.py') diff --git a/module/PluginThread.py b/module/PluginThread.py index 6a8b98e6d..007a17ef1 100644 --- a/module/PluginThread.py +++ b/module/PluginThread.py @@ -143,6 +143,9 @@ class DownloadThread(PluginThread): try: + if not hasattr(pyfile, "plugin"): continue + #this pyfile was deleted while queueing + pyfile.plugin.checkForSameFiles(starting=True) self.m.log.info(_("Download starts: %s" % pyfile.name)) -- cgit v1.2.3