diff --git a/plugins/logo_maker.py b/plugins/logo_maker.py index 49c7895e7..5a9082c1f 100644 --- a/plugins/logo_maker.py +++ b/plugins/logo_maker.py @@ -41,6 +41,8 @@ async def logo_maker(text: str, keyword: str = "name"): async def download(uri: str, file_name: str): """ download a uri """ + if not os.path.exists("temp_logos/"): + os.mkdir("temp_logos/") async with \ aiofiles.open(file_name, "wb+") as file, \ aiohttp.ClientSession(headers=HEADERS) as session, \