Skip to content

Commit

Permalink
Fix for py2applet --help crash
Browse files Browse the repository at this point in the history
Issue #447
  • Loading branch information
ronaldoussoren committed May 24, 2022
1 parent 849996b commit bad3ccb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ py2app 0.28.1

PR by kangi.

* #447: Fix error when using ``py2applet --help``

Bug was introduced in the fix for #414


py2app 0.28
-----------

Expand Down
3 changes: 3 additions & 0 deletions py2app/build_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ def finalize_distribution_options(dist):
else:
targets = FixupTargets(dist.plugin, "script")

if not targets:
return

base = targets[0].get_dest_base()
name = os.path.basename(base)

Expand Down

0 comments on commit bad3ccb

Please sign in to comment.