Skip to content

Commit c9713ef

Browse files
committed
Exclude all new folders
1 parent dbf0b37 commit c9713ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/murfey/client/watchdir_multigrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def _handle_fractions(self, directory: Path):
9393
def _process(self):
9494
while not self._stopping:
9595
for d in self._basepath.glob("*"):
96-
if d.name == "New folder":
96+
if d.name.startswith("New folder"):
9797
self._seen_dirs.append(d)
9898
elif d.name in self._machine_config["create_directories"]:
9999
if d.is_dir() and d not in self._seen_dirs:

0 commit comments

Comments
 (0)