check if more than one server is configured before syncing
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 9s

This commit is contained in:
2026-05-20 21:43:17 +02:00
parent bbc00ae2cc
commit 6269b54ee8
+1
View File
@@ -44,6 +44,7 @@ if __name__== "__main__":
logger.info(f"{error}")
for server in server_list:
logger.info(f"{server.name}: {len(export_data[server.name])} tables exported")
if len(server_list) > 1:
for table, path in MAPPING.items():
for item in export_data[server_list[0].name][table]:
item_data = server_list[1].request(logger, table=table, param=Option(OptionType.ID, item['id']))