From 7f1c327f0281d0e3722bbf59dae083d83b0e4f15 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Sun, 10 Oct 2021 11:04:59 -0400 Subject: [PATCH] file_manager: hidden folder bugfix Since inotify supports hidden folders we shouldn't skip them when scanning for nodes. Signed-off-by: Eric Callahan --- moonraker/components/file_manager/file_manager.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/moonraker/components/file_manager/file_manager.py b/moonraker/components/file_manager/file_manager.py index 52fbefa..b2bd309 100644 --- a/moonraker/components/file_manager/file_manager.py +++ b/moonraker/components/file_manager/file_manager.py @@ -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)