From 2d3fd06af208ee2fd95f6cf0c1f53cd18c98e3da Mon Sep 17 00:00:00 2001 From: Nitzo Date: Wed, 13 Apr 2016 01:25:39 +0300 Subject: [Account] Update --- module/plugins/internal/Account.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'module') diff --git a/module/plugins/internal/Account.py b/module/plugins/internal/Account.py index 7ebb2111d..1971888c9 100644 --- a/module/plugins/internal/Account.py +++ b/module/plugins/internal/Account.py @@ -12,7 +12,7 @@ from module.plugins.internal.misc import Periodical, compare_time, decode, isite class Account(Plugin): __name__ = "Account" __type__ = "account" - __version__ = "0.73" + __version__ = "0.74" __status__ = "stable" __description__ = """Base account plugin""" @@ -367,9 +367,11 @@ class Account(Plugin): % (user, time_data)) if data['trafficleft'] == 0: + self.log_warning(_("Not using account `%s` because the account has no traffic left") % user) continue if time.time() > data['validuntil'] > 0: + self.log_warning(_("Not using account `%s` because the account has expired") % user) continue if data['premium']: -- cgit v1.2.3