From 9b789aa6c074d492d6291e68a9645294a6a0cf86 Mon Sep 17 00:00:00 2001 From: Nitzo Date: Mon, 7 Mar 2016 00:16:29 +0200 Subject: [IRC] Update --- module/plugins/hooks/IRC.py | 6 +++--- 1 file 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 )) -- cgit v1.2.3