diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-10-02 16:52:09 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-10-02 16:52:09 +0200 |
commit | 94aef5b62739afbd6cb27db76896839426ecc282 (patch) | |
tree | 830c6b874d1e50b7bd418a1452daf6dfed6014aa /module/Api.py | |
parent | closed #365, #396, #397 (diff) | |
download | pyload-94aef5b62739afbd6cb27db76896839426ecc282.tar.xz |
GUI_progressbar_fix.patch by royflo
Diffstat (limited to 'module/Api.py')
-rw-r--r-- | module/Api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/Api.py b/module/Api.py index b77cbfb0b..66ba855f1 100644 --- a/module/Api.py +++ b/module/Api.py @@ -472,7 +472,7 @@ class Api(Iface): :return: `PackageData` with .fid attribute """ data = self.core.files.getPackageData(int(pid)) - print data + if not data: raise PackageDoesNotExists(pid) |