From 71c0d0271eb9a10a6bcdcd8277b3ca02b776051a Mon Sep 17 00:00:00 2001 From: Steve Kieu Date: Thu, 2 May 2024 17:24:43 +1000 Subject: [PATCH] Fix syntax warning in python 3.12 --- src/xdgmenumaker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdgmenumaker b/src/xdgmenumaker index 11aabc5..48111d5 100755 --- a/src/xdgmenumaker +++ b/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