summaryrefslogtreecommitdiffstats
path: root/pyload/network/CookieJar.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-12 02:17:30 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-12 03:22:32 +0200
commit000426c9d890ba2a71625a7454f9c573f10b9bae (patch)
tree8fa66da5061b850778f72f84038d9bb8bfa31f2f /pyload/network/CookieJar.py
parent'from os' -> 'import os' and so on... (diff)
downloadpyload-000426c9d890ba2a71625a7454f9c573f10b9bae.tar.xz
'from time' -> 'import time' and so on...
Diffstat (limited to 'pyload/network/CookieJar.py')
-rw-r--r--pyload/network/CookieJar.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/network/CookieJar.py b/pyload/network/CookieJar.py
index a970a08e5..8c8d4c87b 100644
--- a/pyload/network/CookieJar.py
+++ b/pyload/network/CookieJar.py
@@ -2,9 +2,9 @@
# @author: RaNaN
import Cookie
+import time
from datetime import datetime, timedelta
-from time import time
# monkey patch for 32 bit systems
@@ -30,7 +30,7 @@ class CookieJar(Cookie.SimpleCookie):
# Value of expires should be integer if possible
# otherwise the cookie won't be used
if not exp:
- expires = time() + 3600 * 24 * 180
+ expires = time.time() + 3600 * 24 * 180
else:
try:
expires = int(exp)