summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/OboomCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-06 01:41:28 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-06 01:41:28 +0100
commit6bad9e13eec42a4339fdb343e7cb093acea9fdd5 (patch)
tree2c6b20484b3af7ae8f894d043da4e8086052ca9e /module/plugins/accounts/OboomCom.py
parent[DebridItaliaCom] Updated (diff)
downloadpyload-6bad9e13eec42a4339fdb343e7cb093acea9fdd5.tar.xz
[OboomCom] Traffic size path (temp)
Diffstat (limited to 'module/plugins/accounts/OboomCom.py')
-rw-r--r--module/plugins/accounts/OboomCom.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/accounts/OboomCom.py b/module/plugins/accounts/OboomCom.py
index 067edc92a..9bb45224c 100644
--- a/module/plugins/accounts/OboomCom.py
+++ b/module/plugins/accounts/OboomCom.py
@@ -11,7 +11,7 @@ from module.plugins.Account import Account
class OboomCom(Account):
__name__ = "OboomCom"
__type__ = "account"
- __version__ = "0.2"
+ __version__ = "0.21"
__description__ = """Oboom.com account plugin"""
__license__ = "GPLv3"
@@ -51,11 +51,11 @@ class OboomCom(Account):
session = accountData['session']
- return {'premium': premium,
- 'validuntil': validUntil,
- 'trafficleft': trafficLeft,
- 'maxtraffic': maxTraffic,
- 'session': session}
+ return {'premium' : premium,
+ 'validuntil' : validUntil,
+ 'trafficleft': trafficLeft / 1024, #@TODO: Remove / 1024 in 0.4.10
+ 'maxtraffic' : maxTraffic / 1024, #@TODO: Remove / 1024 in 0.4.10
+ 'session' : session}
def login(self, user, data, req):