handle empty commands
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user