From b31268c9f2c0b53144533bd3e750c23eeaec874b Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Thu, 4 Jul 2024 22:07:39 +0100 Subject: [PATCH] Fix check_package_on_submit post issue --- app/tasks/pkgtasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tasks/pkgtasks.py b/app/tasks/pkgtasks.py index 1cf6b04b..6a67dba4 100644 --- a/app/tasks/pkgtasks.py +++ b/app/tasks/pkgtasks.py @@ -169,7 +169,7 @@ def check_package_on_submit(package_id: int): return msg = _check_package(package) - if msg != "": + if msg: marked = f"Marked {package.title} as Changed Needed" system_user = get_system_user()