fix folder enum and refactor control ipadapter

This commit is contained in:
Vladimir Mandic
2024-01-07 16:06:03 -05:00
parent 119424399f
commit d2940a05d1
21 changed files with 237 additions and 309 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ class Upscaler:
pass
def find_folder(self, folder, scalers, loaded):
for fn in modules.shared.listdir(folder): # from folder
for fn in os.listdir(folder): # from folder
file_name = os.path.join(folder, fn)
if os.path.isdir(file_name):
self.find_folder(file_name, scalers, loaded)