From 442a9760b8416ddfa49c5b928e6831eb00042e91 Mon Sep 17 00:00:00 2001 From: Henk Date: Sun, 23 Oct 2022 19:03:18 +0200 Subject: [PATCH] Hide V2 Saves --- fileops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fileops.py b/fileops.py index a416f24d..32fdd8b8 100644 --- a/fileops.py +++ b/fileops.py @@ -86,7 +86,7 @@ def uspath(filename): def getstoryfiles(): list = [] for file in listdir("stories"): - if file.endswith(".json"): + if file.endswith(".json") and not file.endswith(".v2.json"): ob = {} ob["name"] = file.replace(".json", "") f = open("stories/"+file, "r")