Fixing the fixes
This commit is contained in:
@@ -136,7 +136,7 @@ _kb_id_by_name() {
|
|||||||
fi
|
fi
|
||||||
local json; json="$(_owui_get_kb_list)"
|
local json; json="$(_owui_get_kb_list)"
|
||||||
local __id=""
|
local __id=""
|
||||||
__id=$(printf '%s' "$json" | python3 - "$kb_name" <<'PY' || true
|
__id=$(printf '%s' "$json" | python3 - "$kb_name" <<'PY'
|
||||||
import sys, json, unicodedata as ud
|
import sys, json, unicodedata as ud
|
||||||
|
|
||||||
def norm(s: str) -> str:
|
def norm(s: str) -> str:
|
||||||
|
Reference in New Issue
Block a user