mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 22:52:12 -03:00
feat: improve code formatting and readability in model handlers
- Add blank line after module docstring for better PEP 8 compliance - Reformat long lines to adhere to 88-character limit using Black-style formatting - Improve string consistency by using double quotes consistently - Enhance readability of complex list comprehensions and method calls - Maintain all existing functionality while improving code structure
This commit is contained in:
@@ -10870,7 +10870,7 @@ function useLoraPoolApi() {
|
||||
});
|
||||
};
|
||||
const fetchLoras = async (params) => {
|
||||
var _a, _b, _c;
|
||||
var _a, _b, _c, _d;
|
||||
isLoading.value = true;
|
||||
try {
|
||||
const urlParams = new URLSearchParams();
|
||||
@@ -10883,6 +10883,7 @@ function useLoraPoolApi() {
|
||||
urlParams.set("folder", params.foldersInclude[0]);
|
||||
urlParams.set("recursive", "true");
|
||||
}
|
||||
(_d = params.foldersExclude) == null ? void 0 : _d.forEach((folder) => urlParams.append("folder_exclude", folder));
|
||||
if (params.noCreditRequired !== void 0) {
|
||||
urlParams.set("credit_required", String(!params.noCreditRequired));
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user