diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-02 17:01:59 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-02 17:01:59 +0200 |
commit | 56754bcdbd15db520318a88ac779e1eb027853a8 (patch) | |
tree | 2d1a09b3fbe36eb6575e2ea757014b5c3d2dcb46 /module/PluginThread.py | |
parent | upload to fix (diff) | |
download | pyload-56754bcdbd15db520318a88ac779e1eb027853a8.tar.xz |
added several checks to improve stability
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r-- | module/PluginThread.py | 3 |
1 files changed, 3 insertions, 0 deletions
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)) |