summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/account/MegaRapidCz.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/account/MegaRapidCz.py')
-rw-r--r--pyload/plugin/account/MegaRapidCz.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/account/MegaRapidCz.py b/pyload/plugin/account/MegaRapidCz.py
index 5596fd623..cdb5c732b 100644
--- a/pyload/plugin/account/MegaRapidCz.py
+++ b/pyload/plugin/account/MegaRapidCz.py
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
import re
+import time
-from time import mktime, strptime
from pyload.plugin.Account import Account
@@ -34,7 +34,7 @@ class MegaRapidCz(Account):
m = re.search(self.VALID_UNTIL_PATTERN, htmll)
if m:
- validuntil = mktime(strptime(m.group(1), "%d.%m.%Y - %H:%M"))
+ validuntil = time.mktime(time.strptime(m.group(1), "%d.%m.%Y - %H:%M"))
return {"premium": True, "trafficleft": -1, "validuntil": validuntil}
m = re.search(self.TRAFFIC_LEFT_PATTERN, htmll)