Browse Source

Fix syntax warning in python 3.12

pull/28/head
Steve Kieu 2 weeks ago
committed by GitHub
parent
commit
71c0d0271e
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