Don't log to closed file.

This commit is contained in:
tecnovert
2024-11-18 15:43:38 +02:00
parent 6e0f6dabe4
commit 893fc87b28

View File

@@ -617,7 +617,7 @@ def main():
) )
runClient(fp, data_dir, chain, start_only_coins) runClient(fp, data_dir, chain, start_only_coins)
logger.info("Done.") print("Done.")
return swap_client.fail_code if swap_client is not None else 0 return swap_client.fail_code if swap_client is not None else 0