diff options
author | ddPn08 <pyn.g.1125@gmail.com> | 2022-10-07 14:02:07 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2022-10-08 12:46:54 +0000 |
commit | 772db721a52da374d627b60994222051f26c27a7 (patch) | |
tree | ae00be4ffd3da613f9b9d91a19330d1207f634c4 /modules/hypernetwork.py | |
parent | 7001bffe0247804793dfabb69ac96d832572ccd0 (diff) | |
download | stable-diffusion-webui-gfx803-772db721a52da374d627b60994222051f26c27a7.tar.gz stable-diffusion-webui-gfx803-772db721a52da374d627b60994222051f26c27a7.tar.bz2 stable-diffusion-webui-gfx803-772db721a52da374d627b60994222051f26c27a7.zip |
fix glob path in hypernetwork.py
Diffstat (limited to 'modules/hypernetwork.py')
-rw-r--r-- | modules/hypernetwork.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hypernetwork.py b/modules/hypernetwork.py index c7b86682..7f062242 100644 --- a/modules/hypernetwork.py +++ b/modules/hypernetwork.py @@ -43,7 +43,7 @@ class Hypernetwork: def load_hypernetworks(path):
res = {}
- for filename in glob.iglob(path + '**/*.pt', recursive=True):
+ for filename in glob.iglob(os.path.join(path, '**/*.pt'), recursive=True):
try:
hn = Hypernetwork(filename)
res[hn.name] = hn
|