mirror of
https://github.com/norohind/jubilant-system-core.git
synced 2026-10-22 23:02:08 +03:00
Fix logic in backupdate
This commit is contained in:
1 file changed
+1
-2
@@ -87,9 +87,8 @@ def discover(back_count: int = 0):
|
||||
if back_count != 0:
|
||||
logger.debug(f'back_count = {back_count}')
|
||||
|
||||
squad_id: list
|
||||
squad_id: int
|
||||
for squad_id in DB.get_backupdate_squad_ids(back_count):
|
||||
squad_id: int = squad_id[0]
|
||||
logger.debug(f'Back updating {squad_id}')
|
||||
FAPI.update_squad(squad_id)
|
||||
|
||||
|
||||
Reference in new issue
Block a user