1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-17 11:30:19 +01:00

* Bugfix in case of empty recent list.

This commit is contained in:
2008-05-14 11:48:21 +00:00
parent 453fb848aa
commit 400cc5ab4f

View File

@@ -648,7 +648,7 @@ class MainController(Controller):
return return
initial_path = None initial_path = None
if self.model.config.recent[0]: if self.model.config.recent and self.model.config.recent[0]:
initial_path = os.path.dirname(self.model.config.recent[0]) initial_path = os.path.dirname(self.model.config.recent[0])
if not path: if not path: