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