check if more than one server is configured before syncing
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 9s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 9s
This commit is contained in:
@@ -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']))
|
||||
|
||||
Reference in New Issue
Block a user