mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 01:23:48 +01:00
Fix incorrect query in check_update_config task
This commit is contained in:
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:
|
||||
|
Loading…
Reference in New Issue
Block a user