controls/FolderTree.py
changeset 1780 c52d1460cea8
parent 1768 691083b5682a
child 1881 091005ec69c4
--- a/controls/FolderTree.py	Sat Aug 19 17:17:54 2017 +0300
+++ b/controls/FolderTree.py	Sat Aug 19 18:12:20 2017 +0300
@@ -119,7 +119,7 @@
         else:
             try:
                 files = os.listdir(folderpath)
-            except:
+            except Exception:
                 return []
             for filename in files:
                 if not filename.startswith("."):