Browse Source

Merge pull request #28 from sunshine69/sunshine69-patch-1

Fix syntax warning in python 3.12
pull/24/merge
George Vlahavas 9 months ago
committed by GitHub
parent
commit
a9c674fb03
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/xdgmenumaker

2
src/xdgmenumaker

@ -560,7 +560,7 @@ def fluxbox():
for app in menu_category.applist:
# closing parentheses need to be escaped, otherwise they are
# cropped out, along with everything that comes after them
name = app.name.decode().replace(')', '\)')
name = app.name.decode().replace(')', r'\)')
icon = app.icon
command = app.command
path = app.path

Loading…
Cancel
Save