Ack! Forgot a continue statement.

This commit is contained in:
Marcus Llewellyn 2021-06-25 17:17:07 -05:00 committed by GitHub
parent bbe3a92ce4
commit f9db17025d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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")