handle empty commands

This commit is contained in:
2019-01-30 12:46:36 +02:00
parent 57033ab1aa
commit 2d58da4906

View File

@@ -179,6 +179,8 @@ class entry_collection:
row = [ row[0].strip(), row[0] ]
else:
row = [ row[0].strip(), row[1] ]
if len(row[1]) == 0:
row[1] = " "
launcher = "menu"
if row[1][-1] == '/' and os.path.isdir(row[1]):
launcher = "dir"