fix multi add makedirs error (#5786)
try to start multiple comfyui server at the same time, and this got error
This commit is contained in:
parent
4c82741b54
commit
24dc581dc3
|
@ -36,7 +36,7 @@ class UserManager():
|
||||||
|
|
||||||
self.settings = AppSettings(self)
|
self.settings = AppSettings(self)
|
||||||
if not os.path.exists(user_directory):
|
if not os.path.exists(user_directory):
|
||||||
os.mkdir(user_directory)
|
os.makedirs(user_directory, exist_ok=True)
|
||||||
if not args.multi_user:
|
if not args.multi_user:
|
||||||
print("****** User settings have been changed to be stored on the server instead of browser storage. ******")
|
print("****** User settings have been changed to be stored on the server instead of browser storage. ******")
|
||||||
print("****** For multi-user setups add the --multi-user CLI argument to enable multiple user profiles. ******")
|
print("****** For multi-user setups add the --multi-user CLI argument to enable multiple user profiles. ******")
|
||||||
|
|
Loading…
Reference in New Issue