diff options
author | mkaay <mkaay@mkaay.de> | 2009-12-27 22:16:51 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2009-12-27 22:16:51 +0100 |
commit | 090c9d2abdac07025fe6d7351e376e85aabc0891 (patch) | |
tree | 8177a488a95cc977bab10b66caa2d4b738a18d20 /module/file_list.py | |
parent | closes #51 (diff) | |
download | pyload-090c9d2abdac07025fe6d7351e376e85aabc0891.tar.xz |
fixed uploaded.to and netload.in, gui clipboard check
Diffstat (limited to 'module/file_list.py')
-rw-r--r-- | module/file_list.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/module/file_list.py b/module/file_list.py index bb04ae898..d80310cdd 100644 --- a/module/file_list.py +++ b/module/file_list.py @@ -365,6 +365,14 @@ class File_List(object): pyfile.status.type = None finally: packager.file_list.lock.release() + + def abortFile(packager, fileid): + packager.file_list.lock.acquire() + try: + key, n, pyfile, pypack, pid = packager._getFileFromID(fileid) + pyfile.plugin.req.abort = True + finally: + packager.file_list.lock.release() #oooops, duplicate? def removeFileFromPackage(packager, id, pid): |