Skip to content

Commit

Permalink
use str() explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Oct 25, 2023
1 parent cf4c13f commit ab20cc5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions menuinst/_legacy/win32.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,10 @@ def create(self, remove=False):
# and 4 optional ones (args, working_dir, icon_path and
# icon_index).
create_shortcut(
u'' + cmd,
u'' + name + name_suffix,
u'' + dst,
u' '.join(arg for arg in args),
u'' + workdir,
u'' + icon,
str(cmd),
str(name + name_suffix),
str(dst),
' '.join([str(arg) for arg in args]),
str(workdir),
str(icon),
)

0 comments on commit ab20cc5

Please sign in to comment.