Fixed a typo

This commit is contained in:
Manuel Cortez 2017-02-23 14:47:28 -06:00
parent 30e88248e0
commit 9eca86be2d

View File

@ -783,8 +783,9 @@ class fileBrowser(Listbox):
if os.path.isdir(self.getDir()) and self.select_type != "file":
self.done = 1
return 1
self.expand()
return 1
if os.path.isdir(self.getDir()):
self.expand()
return 1
elif c == curses.KEY_LEFT or c == curses.KEY_BACKSPACE: # left arrow quietly back out
self.collapse()
return 1