From b7c2c034d60219e2e0e77392625e0ca032c63783 Mon Sep 17 00:00:00 2001 From: Saltssaumure Date: Fri, 17 Nov 2023 01:42:44 +0000 Subject: [PATCH] Create filename getter --- generator/getfromfluent/.this.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 generator/getfromfluent/.this.py diff --git a/generator/getfromfluent/.this.py b/generator/getfromfluent/.this.py new file mode 100644 index 00000000..f83fe977 --- /dev/null +++ b/generator/getfromfluent/.this.py @@ -0,0 +1,7 @@ +import os + +thisDir = os.path.dirname(__file__) +files = [file.replace(".avif", "") for file in os.listdir(thisDir) if file.endswith(".avif")] + +with open(os.path.join(thisDir, ".filenames.txt"), "w") as f: + f.write(" ".join(files)) \ No newline at end of file