add manager_files_directory to Ctx (#1461)

This commit is contained in:
Matvey Kashkinov 2025-01-18 05:19:35 +01:00 committed by GitHub
parent 0eb1cbce43
commit 93dde4c985
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,6 +95,7 @@ class Ctx:
self.mode = 'cache'
self.user_directory = None
self.custom_nodes_paths = [os.path.join(core.comfy_path, 'custom_nodes')]
self.manager_files_directory = os.path.dirname(__file__)
if Ctx.folder_paths is None:
try: