summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/browsewin.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/browsewin.py b/fs/browsewin.py
index cedd3de..9ce44fe 100644
--- a/fs/browsewin.py
+++ b/fs/browsewin.py
@@ -106,9 +106,9 @@ class BrowseFrame(wx.Frame):
paths = ( [(True, p) for p in self.fs.listdir(path, absolute=True, dirs_only=True)] +
[(False, p) for p in self.fs.listdir(path, absolute=True, files_only=True)] )
except FSError, e:
- msg = "Failed to get directory listing for %s\n\nThe following error was reported:\n\n%s" % (path, e)
- wx.MessageDialog(self, msg, "Error listing directory", wx.OK).ShowModal()
- paths = []
+ msg = "Failed to get directory listing for %s\n\nThe following error was reported:\n\n%s" % (path, e)
+ wx.MessageDialog(self, msg, "Error listing directory", wx.OK).ShowModal()
+ paths = []
#paths = [(self.fs.isdir(p), p) for p in self.fs.listdir(path, absolute=True)]