Potential fix for issue 285

This commit is contained in:
ebolam
2022-11-09 18:37:30 -05:00
parent d18f16e369
commit 5ea921d17e

View File

@@ -1286,7 +1286,7 @@ class KoboldStoryRegister(object):
if type(json_data) == str:
import json
json_data = json.loads(json_data)
self.action_count = json_data['action_count']
self.action_count = int(json_data['action_count'])
#JSON forces keys to be strings, so let's fix that
temp = {}
data_to_send = []