mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-03 10:57:35 +01:00
Hide V2 Saves
This commit is contained in:
parent
2300fb46ff
commit
442a9760b8
@ -86,7 +86,7 @@ def uspath(filename):
|
|||||||
def getstoryfiles():
|
def getstoryfiles():
|
||||||
list = []
|
list = []
|
||||||
for file in listdir("stories"):
|
for file in listdir("stories"):
|
||||||
if file.endswith(".json"):
|
if file.endswith(".json") and not file.endswith(".v2.json"):
|
||||||
ob = {}
|
ob = {}
|
||||||
ob["name"] = file.replace(".json", "")
|
ob["name"] = file.replace(".json", "")
|
||||||
f = open("stories/"+file, "r")
|
f = open("stories/"+file, "r")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user