summaryrefslogtreecommitdiffstats
path: root/pyload/config/Parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/config/Parser.py')
-rw-r--r--pyload/config/Parser.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/config/Parser.py b/pyload/config/Parser.py
index 6cd998024..f834e4b4e 100644
--- a/pyload/config/Parser.py
+++ b/pyload/config/Parser.py
@@ -4,10 +4,9 @@ from __future__ import with_statement
import os
import shutil
+import time
import traceback
-from time import sleep
-
from pyload.utils import chmod, encode, decode
@@ -76,7 +75,7 @@ class ConfigParser(object):
except Exception:
if n >= 3:
raise
- sleep(0.3)
+ time.sleep(0.3)
self.checkVersion(n + 1)