From 84c072efa84c7c0b8189a7c5d3d2bacd881ae158 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sat, 25 Nov 2023 13:36:41 +0100 Subject: [PATCH] fix shadows name conflict --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 8618fbf16371..b015b74dd6e7 100644 --- a/setup.py +++ b/setup.py @@ -363,8 +363,8 @@ def run(self): context=context) as download: vc_redist = download.read() print(f"Download complete, {len(vc_redist) / 1024 / 1024:.2f} MBytes downloaded.", ) - with open("VC_redist.x64.exe", "wb") as f: - f.write(vc_redist) + with open("VC_redist.x64.exe", "wb") as vc_file: + vc_file.write(vc_redist) for data in self.extra_data: self.installfile(Path(data))