mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-03 02:47:38 +01:00
Ack! Forgot a continue statement.
This commit is contained in:
parent
bbe3a92ce4
commit
f9db17025d
@ -75,6 +75,7 @@ def getstoryfiles():
|
||||
ob["actions"] = len(js["actions"])
|
||||
except TypeError:
|
||||
print("Browser loading error: Story file has incorrect format.")
|
||||
continue
|
||||
list.append(ob)
|
||||
return list
|
||||
|
||||
@ -82,4 +83,4 @@ def getstoryfiles():
|
||||
# Returns True if json file exists with requested save 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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user