revert unrelated code

This commit is contained in:
jojorne
2023-03-11 13:39:19 -03:00
parent 47242e9abe
commit e4ad8547a7

View File

@@ -2636,7 +2636,7 @@ class KoboldWorldInfo(object):
self._socketio.emit("world_info_entry_used_in_game", {"uid": uid, "used_in_game": True}, broadcast=True, room="UI_2")
def get_used_wi(self):
return [self.world_info[x]['content'] for x in self.world_info if self.world_info[x]['used_in_game']]
return [x['content'] for x in self.world_info if x['used_in_game']]
def to_wi_fewshot_format(self, excluding_uid: int) -> List[str]:
"""