From d4b63d78eb86932c5e957afe807573b50c2475b9 Mon Sep 17 00:00:00 2001 From: Kumi Date: Mon, 7 Feb 2022 15:05:06 +0100 Subject: [PATCH] Missing underscore --- worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker.py b/worker.py index 27501a4..700768d 100644 --- a/worker.py +++ b/worker.py @@ -14,7 +14,7 @@ tempdir = config.getTempDir() if not tempdir.exists(): tempdir.mkdir() -elif not tempdir.isdir(): +elif not tempdir.is_dir(): raise ValueError(f"Temp Dir {str(tempdir)} exists and is not a directory.") messages = []