This commit is contained in:
alfrix
2023-12-24 09:38:17 -03:00
parent 4a928140d9
commit a5ac4eb6b2
2 changed files with 4 additions and 4 deletions

View File

@@ -91,9 +91,9 @@ class KlippyFiles:
if 'result' not in result or 'dirs' not in result['result']:
return
for x in result['result']['dirs']:
if x not in self.directories:
if x not in self.directories and not x['dirname'].startswith('.'):
self.directories.append(x)
self.get_dir_info(x['dirname'])
self.get_dir_info(f"{params['path']}/{x['dirname']}")
def add_file(self, item, notify=True):
if 'filename' not in item and 'path' not in item: