Update pagebot.py

This commit is contained in:
majmongoose
2026-08-23 09:01:37 -04:00
parent 239f432fb1
commit 1b0510af32
+3 -1
View File
@@ -40,9 +40,11 @@ class MyHandler(FileSystemEventHandler):
global last_file_time
if event.is_directory:
return
last_file_time = time.time()
filepath = event.src_path
filename, file_extension = os.path.splitext(filepath)
if filename.endswith('_stt'):
return
last_file_time = time.time()
if file_extension.lower() == '.amr':
with _processing_lock:
if filepath in _processing_files: