Save Load Fix

This commit is contained in:
ebolam
2022-09-02 18:31:03 -04:00
parent 6eb77c7bf7
commit a082f29f69

View File

@@ -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: