remove dangling debug statement

This commit is contained in:
Lincoln Stein 2023-06-26 17:48:06 -04:00
parent 8c74f49a18
commit 044fe6bb20

View File

@ -399,9 +399,6 @@ def update_autoimport_dir(autodir: Path):
'''
Update the "autoimport_dir" option in invokeai.yaml
'''
with open('log.txt','a') as f:
print(f'autodir = {autodir}',file=f)
invokeai_config_path = config.init_file_path
conf = OmegaConf.load(invokeai_config_path)
conf.InvokeAI.Paths.autoimport_dir = str(autodir) if autodir else None