mirror of
https://github.com/lemeow125/DocManagerBackend.git
synced 2025-04-28 02:31:23 +08:00
Update scripts
This commit is contained in:
parent
52d74de4fc
commit
463e33d219
3 changed files with 4 additions and 3 deletions
|
@ -94,7 +94,7 @@ class PDFWatcher:
|
|||
|
||||
def run(self):
|
||||
event_handler = PDFHandler()
|
||||
watch_directory = f"{MEDIA_ROOT}/uploads"
|
||||
watch_directory = os.path.join(MEDIA_ROOT, "uploads")
|
||||
|
||||
self.observer.schedule(
|
||||
event_handler, watch_directory, recursive=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue