mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-21 06:00:37 +01:00
Fix __len
metamethod of KoboldWorldInfoFolderSelector
This commit is contained in:
parent
aba150229c
commit
6db01ea5fe
@ -615,7 +615,7 @@ return function(_python, _bridged)
|
||||
if not check_validity(t) then
|
||||
return 0
|
||||
end
|
||||
return #kobold.worldinfo
|
||||
return _python.builtins.len(bridged.vars.wifolders_l)
|
||||
end
|
||||
|
||||
KoboldWorldInfoFolderSelector_mt._kobold_next = KoboldWorldInfoEntry_mt._kobold_next
|
||||
|
Loading…
x
Reference in New Issue
Block a user