summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/MultiHome.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2013-07-17 03:20:29 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2013-07-17 03:20:29 +0200
commit5d6b8fdb79eb10b3b96cb265860d0d02d112af60 (patch)
tree4b11a41a91eb36b9f3cf5492392f4871bb733f43 /module/plugins/hooks/MultiHome.py
parentNew crypter plugin requested in #190 (diff)
downloadpyload-5d6b8fdb79eb10b3b96cb265860d0d02d112af60.tar.xz
fixed log api call for several plugins
Diffstat (limited to 'module/plugins/hooks/MultiHome.py')
-rw-r--r--module/plugins/hooks/MultiHome.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/MultiHome.py b/module/plugins/hooks/MultiHome.py
index f15148538..ddf8db69f 100644
--- a/module/plugins/hooks/MultiHome.py
+++ b/module/plugins/hooks/MultiHome.py
@@ -22,7 +22,7 @@ from time import time
class MultiHome(Hook):
__name__ = "MultiHome"
- __version__ = "0.1"
+ __version__ = "0.11"
__description__ = """ip address changer"""
__config__ = [ ("activated", "bool", "Activated" , "False"),
("interfaces", "str", "Interfaces" , "None") ]
@@ -54,7 +54,7 @@ class MultiHome(Hook):
if iface:
iface.useFor(pluginName, account)
requestFactory.iface = lambda: iface.adress
- self.log.debug("Multihome: using address: "+iface.adress)
+ self.logDebug("Multihome: using address: "+iface.adress)
return oldGetRequest(pluginName, account)
requestFactory.getRequest = getRequest