mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Fix some name errors in Mac modules.
This commit is contained in:
parent
7e1902bced
commit
1f6176e794
3 changed files with 4 additions and 3 deletions
|
@ -432,7 +432,7 @@ class AppBuilder(BundleBuilder):
|
|||
pass
|
||||
elif self.mainprogram is not None:
|
||||
self.name = os.path.splitext(os.path.basename(self.mainprogram))[0]
|
||||
elif executable is not None:
|
||||
elif self.executable is not None:
|
||||
self.name = os.path.splitext(os.path.basename(self.executable))[0]
|
||||
if self.name[-4:] != ".app":
|
||||
self.name += ".app"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue