cleanup startup

This commit is contained in:
Vladimir Mandic
2024-01-17 12:15:07 -05:00
parent f10a478c82
commit 16eaeeb766
5 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ def load_module(path):
pr = cProfile.Profile()
pr.enable()
try:
if '/sd-extension-' in path: # safe extensions without stdout intercept
if '/sd-extension-' in path or '/Lora' in path: # safe extensions without stdout intercept
module_spec.loader.exec_module(module)
else:
if debug: