mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-03 01:07:05 +08:00
change print to logging.info(
This commit is contained in:
parent
79715433c8
commit
6fa6aacb6e
@ -728,7 +728,7 @@ class PromptServer():
|
|||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
version = "requirements.txt not found"
|
version = "requirements.txt not found"
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Error reading version in get_workflow_templates_version: {e}")
|
logging.info(f"Error reading version in get_workflow_templates_version: {e}")
|
||||||
version = "unknown"
|
version = "unknown"
|
||||||
|
|
||||||
return web.json_response({"version": version})
|
return web.json_response({"version": version})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user