Fix logging format
This commit is contained in:
4
main.py
4
main.py
@@ -104,9 +104,9 @@ def load_missing_modules():
|
|||||||
if resp.ok:
|
if resp.ok:
|
||||||
with open(module_path, "wb") as f:
|
with open(module_path, "wb") as f:
|
||||||
f.write(resp.content)
|
f.write(resp.content)
|
||||||
logging.info(f"Loaded missing module: %s", {module_name})
|
logging.info("Loaded missing module: %s", {module_name})
|
||||||
else:
|
else:
|
||||||
logging.warning(f"Failed to load module: %s", {module_name})
|
logging.warning("Failed to load module: %s", {module_name})
|
||||||
|
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
|
|||||||
Reference in New Issue
Block a user