summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-03-06 23:16:29 +0100
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-03-06 23:16:29 +0100
commit9b789aa6c074d492d6291e68a9645294a6a0cf86 (patch)
treedce9868a68aa9fda55dbc454d9ee3174011dd80a
parentfix #2373 (diff)
downloadpyload-9b789aa6c074d492d6291e68a9645294a6a0cf86.tar.xz
[IRC] Update
-rw-r--r--module/plugins/hooks/IRC.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/IRC.py b/module/plugins/hooks/IRC.py
index 91f9ddf5e..308d5bf36 100644
--- a/module/plugins/hooks/IRC.py
+++ b/module/plugins/hooks/IRC.py
@@ -13,13 +13,13 @@ from threading import Thread
from module.Api import PackageDoesNotExists, FileDoesNotExists
from module.plugins.internal.Notifier import Notifier
-from module.internal.misc import formatSize
+from module.plugins.internal.misc import format_size
class IRC(Thread, Notifier):
__name__ = "IRC"
__type__ = "hook"
- __version__ = "0.20"
+ __version__ = "0.21"
__status__ = "testing"
__config__ = [("activated", "bool", "Activated" , False ),
@@ -229,7 +229,7 @@ class IRC(Thread, Notifier):
data.fid,
data.name,
data.statusmsg,
- "%s/s" % formatSize(data.speed),
+ "%s/s" % format_size(data.speed),
"%s" % data.format_eta,
temp_progress
))