fix multi add makedirs error

try to start multiple comfyui server at the same time, and this got error
This commit is contained in:
lky 2024-11-26 19:42:01 +08:00 committed by GitHub
parent 15c39ea757
commit 887d87d5bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,7 @@ class UserManager():
self.settings = AppSettings(self)
if not os.path.exists(user_directory):
os.mkdir(user_directory)
os.makedirs(user_directory, exist_ok=True)
if not args.multi_user:
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. ******")