Remove redundant split of TryExec

This commit is contained in:
kramo
2023-09-27 09:50:05 +02:00
committed by GitHub
parent ac36118d57
commit 27bc40e6f6

View File

@@ -97,9 +97,7 @@ class DesktopSourceIterable(SourceIterable):
continue
try:
try_exec = "which " + (
keyfile.get_string("Desktop Entry", "TryExec").split(" %")[0]
)
try_exec = "which " + keyfile.get_string("Desktop Entry", "TryExec")
if not self.check_command(try_exec):
continue