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