mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-30 11:11:15 +00:00
Update scripts.py
This commit is contained in:
@@ -512,6 +512,10 @@ def load_scripts():
|
|||||||
|
|
||||||
scripts_list = list_scripts("scripts", ".py") + list_scripts("modules/processing_scripts", ".py", include_extensions=False)
|
scripts_list = list_scripts("scripts", ".py") + list_scripts("modules/processing_scripts", ".py", include_extensions=False)
|
||||||
|
|
||||||
|
for s in scripts_list:
|
||||||
|
if s.basedir not in sys.path:
|
||||||
|
sys.path = [s] + sys.path
|
||||||
|
|
||||||
syspath = sys.path
|
syspath = sys.path
|
||||||
|
|
||||||
print(f'Current System Paths = {syspath}')
|
print(f'Current System Paths = {syspath}')
|
||||||
|
|||||||
Reference in New Issue
Block a user