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