handle empty commands
This commit is contained in:
@@ -179,6 +179,8 @@ class entry_collection:
|
|||||||
row = [ row[0].strip(), row[0] ]
|
row = [ row[0].strip(), row[0] ]
|
||||||
else:
|
else:
|
||||||
row = [ row[0].strip(), row[1] ]
|
row = [ row[0].strip(), row[1] ]
|
||||||
|
if len(row[1]) == 0:
|
||||||
|
row[1] = " "
|
||||||
launcher = "menu"
|
launcher = "menu"
|
||||||
if row[1][-1] == '/' and os.path.isdir(row[1]):
|
if row[1][-1] == '/' and os.path.isdir(row[1]):
|
||||||
launcher = "dir"
|
launcher = "dir"
|
||||||
|
|||||||
Reference in New Issue
Block a user