diff options
-rw-r--r-- | xdg/Menu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xdg/Menu.py b/xdg/Menu.py index 35fc753..6fd234f 100644 --- a/xdg/Menu.py +++ b/xdg/Menu.py @@ -972,7 +972,7 @@ def sort(menu): menu.Entries.remove(entry) def __find_executable(executable): - paths = string.split(os.environ['PATH'], os.pathsep) + paths = os.environ['PATH'].split(os.pathsep) if not os.path.isfile(executable): for p in paths: f = os.path.join(p, executable) |