aboutsummaryrefslogtreecommitdiff
path: root/app/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/utils.py')
-rw-r--r--app/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/utils.py b/app/utils.py
index e42c3cc..9be70d6 100644
--- a/app/utils.py
+++ b/app/utils.py
@@ -116,7 +116,7 @@ def getPackageByInfo(author, name):
if user is None:
abort(404)
- package = Package.query.filter_by(name=name, author_id=user.id).first()
+ package = Package.query.filter_by(name=name, author_id=user.id, soft_deleted=False).first()
if package is None:
abort(404)