diff options
author | Ivan <ivan.demian2009@gmail.com> | 2023-01-27 12:21:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 12:21:48 +0000 |
commit | 63391419c11c1749a3d83dade19235a836c509f9 (patch) | |
tree | 5781c7fe6de7a61bb5936956e68e0582f03d7f6c /modules/sd_hijack_utils.py | |
parent | f5d73b6a6646b51027c8e6f6c6154f21b58d6af2 (diff) | |
parent | 9beb794e0b0dc1a0f9e89d8e38bd789a8c608397 (diff) | |
download | stable-diffusion-webui-gfx803-63391419c11c1749a3d83dade19235a836c509f9.tar.gz stable-diffusion-webui-gfx803-63391419c11c1749a3d83dade19235a836c509f9.tar.bz2 stable-diffusion-webui-gfx803-63391419c11c1749a3d83dade19235a836c509f9.zip |
Merge branch 'AUTOMATIC1111:master' into master
Diffstat (limited to 'modules/sd_hijack_utils.py')
-rw-r--r-- | modules/sd_hijack_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_hijack_utils.py b/modules/sd_hijack_utils.py index f81b169a..f8684475 100644 --- a/modules/sd_hijack_utils.py +++ b/modules/sd_hijack_utils.py @@ -5,7 +5,7 @@ class CondFunc: self = super(CondFunc, cls).__new__(cls)
if isinstance(orig_func, str):
func_path = orig_func.split('.')
- for i in range(len(func_path)-2, -1, -1):
+ for i in range(len(func_path)-1, -1, -1):
try:
resolved_obj = importlib.import_module('.'.join(func_path[:i]))
break
|