From 6d8ca3f1636e7fafd06684359cf0a2a322b8e9ae Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Mon, 26 Dec 2022 09:06:00 -0300 Subject: [PATCH] [Windows] One more use of rename changed to replace --- kibot/out_pcb_print.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibot/out_pcb_print.py b/kibot/out_pcb_print.py index 674cf9d7..cb7ea73d 100644 --- a/kibot/out_pcb_print.py +++ b/kibot/out_pcb_print.py @@ -1003,7 +1003,7 @@ class PCB_PrintOptions(VariantOptions): id, ext = self.get_id_and_ext(n, p.page_id) user_name = self.expand_filename(output_dir, self.output, id, ext) if cur_name != user_name and os.path.isfile(cur_name): - os.rename(cur_name, user_name) + os.replace(cur_name, user_name) def generate_output(self, output): self.check_tools()