mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-13 00:37:00 +08:00
Remove prints.
This commit is contained in:
parent
5440eb7e1a
commit
d65af57303
@ -19,7 +19,6 @@ class UserManager():
|
|||||||
|
|
||||||
self.settings = AppSettings(self)
|
self.settings = AppSettings(self)
|
||||||
if not os.path.exists(user_directory):
|
if not os.path.exists(user_directory):
|
||||||
print('Creating user directory: ', user_directory)
|
|
||||||
os.mkdir(user_directory)
|
os.mkdir(user_directory)
|
||||||
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. ******")
|
||||||
@ -57,7 +56,6 @@ class UserManager():
|
|||||||
|
|
||||||
user = self.get_request_user_id(request)
|
user = self.get_request_user_id(request)
|
||||||
path = user_root = os.path.abspath(os.path.join(root_dir, user))
|
path = user_root = os.path.abspath(os.path.join(root_dir, user))
|
||||||
print(f"User: {user}, Path: {path}")
|
|
||||||
|
|
||||||
# prevent leaving /{type}
|
# prevent leaving /{type}
|
||||||
if os.path.commonpath((root_dir, user_root)) != root_dir:
|
if os.path.commonpath((root_dir, user_root)) != root_dir:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user