mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Potential fix for issue 285
This commit is contained in:
@@ -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 = []
|
||||
|
Reference in New Issue
Block a user