mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Bug fix
This commit is contained in:
@@ -1720,7 +1720,7 @@ class KoboldWorldInfo(object):
|
|||||||
"keysecondary": ",".join(self.world_info[x]['keysecondary']),
|
"keysecondary": ",".join(self.world_info[x]['keysecondary']),
|
||||||
"num": x,
|
"num": x,
|
||||||
"selective": len(self.world_info[x]['keysecondary'])>0,
|
"selective": len(self.world_info[x]['keysecondary'])>0,
|
||||||
"uid": self.world_info[x]['uid'] if self.world_info[x]['v1_uid'] is None else self.world_info[x]['v1_uid']
|
"uid": self.world_info[x]['uid'] if 'v1_uid' not in self.world_info[x] or self.world_info[x]['v1_uid'] is None else self.world_info[x]['v1_uid']
|
||||||
} for x in self.world_info]
|
} for x in self.world_info]
|
||||||
|
|
||||||
#self.worldinfo = [] # List of World Info key/value objects
|
#self.worldinfo = [] # List of World Info key/value objects
|
||||||
|
Reference in New Issue
Block a user