diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-14 10:32:16 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-14 10:32:16 +0100 |
commit | 0bce7503dda26b26a34549207eeab3b6bc4cb0dc (patch) | |
tree | 21241c9d866cf7b64524505b5c6709df7a89dc6d | |
parent | [BasePlugin][SimpleHoster] Better checkDownload warning (diff) | |
download | pyload-0bce7503dda26b26a34549207eeab3b6bc4cb0dc.tar.xz |
[HotFolder] Missing exception
-rw-r--r-- | module/plugins/hooks/HotFolder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/HotFolder.py b/module/plugins/hooks/HotFolder.py index a046e55e7..60ddf1621 100644 --- a/module/plugins/hooks/HotFolder.py +++ b/module/plugins/hooks/HotFolder.py @@ -14,7 +14,7 @@ from module.utils import fs_encode, save_join class HotFolder(Hook): __name__ = "HotFolder" __type__ = "hook" - __version__ = "0.13" + __version__ = "0.14" __config__ = [("folder" , "str" , "Folder to observe" , "container"), ("watch_file", "bool", "Observe link file" , False ), @@ -66,5 +66,5 @@ class HotFolder(Hook): self.logInfo(_("Added %s from HotFolder") % f) self.core.api.addPackage(f, [newpath], 1) - except IOError, e: + except (IOError, OSError), e: self.logError(e) |