Browse Source

Remove redundant assignemnt

No need to read the command name twice. This is also assigned a few
lines down.
pull/9/head
George Vlahavas 8 years ago
parent
commit
50dafc7ee4
  1. 1
      src/xdgmenumaker

1
src/xdgmenumaker

@ -802,7 +802,6 @@ def twm():
print("{") print("{")
for app in menu_category.applist: for app in menu_category.applist:
name = app.name.decode() name = app.name.decode()
command = app.command
# for some apps (like netbeans) the command is launched with # for some apps (like netbeans) the command is launched with
# /bin/sh "command" # /bin/sh "command"
# and the quotes get mixed up with the quotes twm puts # and the quotes get mixed up with the quotes twm puts

Loading…
Cancel
Save