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:
|
#Make sure we have all the appropriate variables:
|
||||||
for item in self.world_info:
|
for item in self.world_info:
|
||||||
for column in ["uid","title","key","keysecondary","folder","constant","content","comment","token_length","selective","used_in_game"]:
|
for column in ["uid","title","key","keysecondary","folder","constant","content","comment","token_length","selective","used_in_game"]:
|
||||||
if column not in item:
|
if column not in self.world_info[item]:
|
||||||
item[column] = None
|
self.world_info[item][column] = None
|
||||||
try:
|
try:
|
||||||
self.sync_world_info_to_old_format()
|
self.sync_world_info_to_old_format()
|
||||||
except:
|
except:
|
||||||
|
Reference in New Issue
Block a user