Fix incorrect query in check_update_config task

This commit is contained in:
rubenwardy 2021-01-30 23:51:09 +00:00
parent 7c3d738756
commit 4364ce5d6f

@ -339,7 +339,7 @@ def check_update_config_impl(package):
db.session.commit()
return
if package.releases.any(commit_hash=commit):
if package.releases.filter_by(commit_hash=commit).count() > 0:
return
if config.make_release: