From f9db17025db3e4901fbab2db9d2cc3102b46cfb2 Mon Sep 17 00:00:00 2001 From: Marcus Llewellyn Date: Fri, 25 Jun 2021 17:17:07 -0500 Subject: [PATCH] Ack! Forgot a continue statement. --- fileops.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fileops.py b/fileops.py index 640d3083..b4c02329 100644 --- a/fileops.py +++ b/fileops.py @@ -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") \ No newline at end of file + return path.exists(path.dirname(os.path.realpath(__file__))+"/stories/"+name+".json")