mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Only run update configs on approved packages
This commit is contained in:
parent
8fcea988ca
commit
ea527f9598
@ -371,6 +371,9 @@ def check_for_updates():
|
||||
for update_config in PackageUpdateConfig.query.all():
|
||||
update_config: PackageUpdateConfig
|
||||
|
||||
if not update_config.package.approved:
|
||||
continue
|
||||
|
||||
if update_config.package.repo is None:
|
||||
db.session.delete(update_config)
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user