Update subgen.py

This commit is contained in:
McCloudS authored and GitHub committed 2024-03-19 11:51:35 -06:00
1 parent 195a146758
commit 8a95c15d88
1 file changed
+3 -2
+3 -2
View File
@@ -615,8 +615,9 @@ def path_mapping(fullpath):
return fullpath.replace(path_mapping_from, path_mapping_to)
return fullpath
# Define a handler class that will process new files
class NewFileHandler(FileSystemEventHandler):
if monitor:
# Define a handler class that will process new files
class NewFileHandler(FileSystemEventHandler):
def on_created(self, event):
# Only process if it's a file
if not event.is_directory: