Skip to content

Commit

Permalink
fix mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
newwingbird committed Nov 17, 2024
1 parent 56e0eef commit 0838f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comtypes/client/_code_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _find_gen_dir():
# dll created with py2exe
path = _get_module_filename(sys.frozendllhandle)
base = os.path.splitext(os.path.basename(path))[0]
subdir = f"Python\\Python{pymaj:d}{pymin:d}\\comtypes_cache"
subdir = f"comtypes_cache\\{base}-{pymaj:d}{pymin:d}"
basedir = tempfile.gettempdir()

else: # ftype in ('windows_exe', 'console_exe')
Expand Down

0 comments on commit 0838f71

Please sign in to comment.