added extra step to filename stripping

This commit is contained in:
Sakimori 2025-09-01 12:01:15 -04:00
parent 03991a18ed
commit 4db3ba6629
No known key found for this signature in database

View file

@ -26,7 +26,9 @@ def linesplit(line):
dm = int(dm)
pw, fname = line.split(" s ")
pw = float(pw)
fname = fname.strip().removesuffix("_injected")
fname = fname.strip().removesuffix(".fil").removesuffix("_injected")
if fname.startswith("/"):
fname = fname.split("/")[-1]
return (dm, pw, fname)
def updateDic(lines, dic):