mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Save Load Fix
This commit is contained in:
@@ -1396,8 +1396,8 @@ class KoboldWorldInfo(object):
|
||||
#Make sure we have all the appropriate variables:
|
||||
for item in self.world_info:
|
||||
for column in ["uid","title","key","keysecondary","folder","constant","content","comment","token_length","selective","used_in_game"]:
|
||||
if column not in item:
|
||||
item[column] = None
|
||||
if column not in self.world_info[item]:
|
||||
self.world_info[item][column] = None
|
||||
try:
|
||||
self.sync_world_info_to_old_format()
|
||||
except:
|
||||
|
Reference in New Issue
Block a user