(self, event)
| 2496 | while True: |
| 2497 | if os.path.exists(os.path.join(check, SKIP_MARKER)): |
| 2498 | return True |
| 2499 | parent = os.path.dirname(check) |
| 2500 | if parent == check: |
| 2501 | return False |
| 2502 | check = parent |
| 2503 | |
| 2504 | |
| 2505 | class NewFileHandler(FileSystemEventHandler): |
| 2506 | """Watchdog handler that queues newly created or modified media files.""" |
| 2507 | |
| 2508 | def create_subtitle(self, event): |
| 2509 | if not event.is_directory: |
no test coverage detected