summaryrefslogtreecommitdiffstats
path: root/module/PyFile.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-22 12:53:38 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-22 12:53:38 +0100
commitd52bcc46770e2f932b12fcaac45d056846814ef1 (patch)
tree8b4a53a93b15a6134bd6c4af8cdb2ace6f5ec78e /module/PyFile.py
parentchanged request files (diff)
downloadpyload-d52bcc46770e2f932b12fcaac45d056846814ef1.tar.xz
at least its downloading now
Diffstat (limited to 'module/PyFile.py')
-rw-r--r--module/PyFile.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/PyFile.py b/module/PyFile.py
index bf72c6aba..62588e116 100644
--- a/module/PyFile.py
+++ b/module/PyFile.py
@@ -19,6 +19,7 @@
from module.PullEvents import UpdateEvent
from module.Progress import Progress
+
from time import sleep
from time import time
@@ -52,6 +53,7 @@ def formatSize(size):
return "%.2f %s" % (size, sizes[steps])
+
class PyFile():
def __init__(self, manager, id, url, name, size, status, error, pluginname, package, order):
self.m = manager