mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Ack! Forgot a continue statement.
This commit is contained in:
@ -75,6 +75,7 @@ def getstoryfiles():
|
|||||||
ob["actions"] = len(js["actions"])
|
ob["actions"] = len(js["actions"])
|
||||||
except TypeError:
|
except TypeError:
|
||||||
print("Browser loading error: Story file has incorrect format.")
|
print("Browser loading error: Story file has incorrect format.")
|
||||||
|
continue
|
||||||
list.append(ob)
|
list.append(ob)
|
||||||
return list
|
return list
|
||||||
|
|
||||||
@ -82,4 +83,4 @@ def getstoryfiles():
|
|||||||
# Returns True if json file exists with requested save name
|
# Returns True if json file exists with requested save name
|
||||||
#==================================================================#
|
#==================================================================#
|
||||||
def saveexists(name):
|
def saveexists(name):
|
||||||
return path.exists(path.dirname(os.path.realpath(__file__))+"/stories/"+name+".json")
|
return path.exists(path.dirname(os.path.realpath(__file__))+"/stories/"+name+".json")
|
||||||
|
Reference in New Issue
Block a user