file_manager: hidden folder bugfix
Since inotify supports hidden folders we shouldn't skip them when scanning for nodes. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
c631bff0c9
commit
7f1c327f02
|
@ -756,8 +756,6 @@ class InotifyNode:
|
|||
metadata_events: List[asyncio.Event] = []
|
||||
visited_dirs.add((st.st_dev, st.st_ino))
|
||||
for fname in os.listdir(dir_path):
|
||||
if fname[0] == ".":
|
||||
continue
|
||||
item_path = os.path.join(dir_path, fname)
|
||||
if os.path.isdir(item_path):
|
||||
new_child = self.create_child_node(fname, False)
|
||||
|
|
Loading…
Reference in New Issue