diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-12-29 21:07:28 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-12-29 21:07:28 +0100 |
commit | 8318540e162cccbb049bebebc5aca03384a1e4e9 (patch) | |
tree | 5b4dc38520a82b5c8044a026ab996be1d71a782e /pyload/datatypes | |
parent | added auth to request class (diff) | |
download | pyload-8318540e162cccbb049bebebc5aca03384a1e4e9.tar.xz |
added progress type enum, new DebugCrypter + Hoster, little improvements for crypter api
Diffstat (limited to 'pyload/datatypes')
-rw-r--r-- | pyload/datatypes/PyFile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/datatypes/PyFile.py b/pyload/datatypes/PyFile.py index e27fdd537..58d9f6a6f 100644 --- a/pyload/datatypes/PyFile.py +++ b/pyload/datatypes/PyFile.py @@ -19,7 +19,7 @@ from time import sleep, time from ReadWriteLock import ReadWriteLock -from pyload.Api import ProgressInfo, DownloadProgress, FileInfo, DownloadInfo, DownloadStatus +from pyload.Api import ProgressInfo, ProgressType, DownloadProgress, FileInfo, DownloadInfo, DownloadStatus from pyload.utils import lock, read_lock from pyload.utils.filetypes import guess_type @@ -276,5 +276,5 @@ class PyFile(object): def getProgressInfo(self): return ProgressInfo(self.pluginname, self.name, self.getStatusName(), self.getETA(), - self.getBytesArrived(), self.getSize(), + self.getBytesArrived(), self.getSize(), self.owner, ProgressType.Download, DownloadProgress(self.fid, self.packageid, self.getSpeed(), self.status)) |