diff options
author | Stefano <l.stickell@yahoo.it> | 2013-07-17 13:53:09 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-07-17 13:53:09 +0200 |
commit | 96e9e7503f34260a2c34dd4f17d03287936e4d31 (patch) | |
tree | ec6a7049ec03e91fb856850e0a50cb372d2b3aaf /module/plugins/hooks/HotFolder.py | |
parent | BitshareCom: fixed #188 (diff) | |
parent | fixed log api call for several plugins (diff) | |
download | pyload-96e9e7503f34260a2c34dd4f17d03287936e4d31.tar.xz |
Merge pull request #199 from vuolter/pluginlogfix
Fix log api call for several plugins
Diffstat (limited to 'module/plugins/hooks/HotFolder.py')
-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 ee1031ad5..fd889fa22 100644 --- a/module/plugins/hooks/HotFolder.py +++ b/module/plugins/hooks/HotFolder.py @@ -30,7 +30,7 @@ from module.plugins.Hook import Hook class HotFolder(Hook): __name__ = "HotFolder" - __version__ = "0.1" + __version__ = "0.11" __description__ = """observe folder and file for changes and add container and links""" __config__ = [ ("activated", "bool", "Activated" , "False"), ("folder", "str", "Folder to observe", "container"), @@ -79,7 +79,7 @@ class HotFolder(Hook): newpath = join(self.getConfig("folder"), "finished", f if self.getConfig("keep") else "tmp_"+f) move(path, newpath) - self.log.info(_("Added %s from HotFolder") % f) + self.logInfo(_("Added %s from HotFolder") % f) self.core.api.addPackage(f, [newpath], 1)
\ No newline at end of file |