Remove redundant split of TryExec
This commit is contained in:
@@ -97,9 +97,7 @@ class DesktopSourceIterable(SourceIterable):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
try:
|
try:
|
||||||
try_exec = "which " + (
|
try_exec = "which " + keyfile.get_string("Desktop Entry", "TryExec")
|
||||||
keyfile.get_string("Desktop Entry", "TryExec").split(" %")[0]
|
|
||||||
)
|
|
||||||
if not self.check_command(try_exec):
|
if not self.check_command(try_exec):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user