diff options
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) |