actually, removing old tmpdir isn't needed

I tested - downloader code handles this case well already
(also rmdir was wrong func anyway, needed shutil.rmtree if it had content)
This commit is contained in:
Alex "mcmonkey" Goodwin 2024-10-04 11:57:40 -07:00
parent 762c267821
commit c942b6c935

View File

@ -169,8 +169,6 @@ class FrontendManager:
)
if not os.path.exists(web_root):
tmp_path = web_root + ".tmp"
if os.path.exists(tmp_path):
os.rmdir(tmp_path)
try:
os.makedirs(tmp_path, exist_ok=True)
logging.info(