summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/account/RapideoPl.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/account/RapideoPl.py')
-rw-r--r--pyload/plugin/account/RapideoPl.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/pyload/plugin/account/RapideoPl.py b/pyload/plugin/account/RapideoPl.py
index b4b74fab5..f14e222c3 100644
--- a/pyload/plugin/account/RapideoPl.py
+++ b/pyload/plugin/account/RapideoPl.py
@@ -1,9 +1,8 @@
# -*- coding: utf-8 -*-
+import datetime
import hashlib
-
-from datetime import datetime
-from time import mktime
+import time
from pyload.plugin.Account import Account
from pyload.utils import json_loads
@@ -44,7 +43,7 @@ class RapideoPl(Account):
valid_untill = -1
if "expire" in result.keys() and result["expire"]:
premium = True
- valid_untill = mktime(datetime.fromtimestamp(int(result["expire"])).timetuple())
+ valid_untill = time.mktime(datetime.datetime.fromtimestamp(int(result["expire"])).timetuple())
traffic_left = result["balance"]