modified: reboot behavior changed

https://github.com/Comfy-Org/comfy-cli/pull/6
This commit is contained in:
Dr.Lt.Data
2024-04-29 00:18:01 +09:00
parent 853f85987e
commit f1e4760dee
2 changed files with 2 additions and 2 deletions

View File

@@ -1074,7 +1074,7 @@ def restart(self):
pass
if '__COMFY_CLI_SESSION__' in os.environ:
with open(os.path.join(os.environ['__COMFY_CLI_SESSION__'], '.reboot'), 'w') as file:
with open(os.path.join(os.environ['__COMFY_CLI_SESSION__'] + '.reboot'), 'w') as file:
pass
print(f"\nRestarting...\n\n")