Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Create filename getter
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltssaumure committed Nov 17, 2023
1 parent c6081d3 commit b7c2c03
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions generator/getfromfluent/.this.py
Original file line number Diff line number Diff line change
@@ -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))

0 comments on commit b7c2c03

Please sign in to comment.