Skip to content

Commit

Permalink
fix multi add makedirs error (comfyanonymous#5786)
Browse files Browse the repository at this point in the history
try to start multiple comfyui server at the same time, and this got error
  • Loading branch information
lyksdu authored Nov 26, 2024
1 parent 4c82741 commit 24dc581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/user_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(self):

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. ******")
Expand Down

0 comments on commit 24dc581

Please sign in to comment.