diff options
author | Starfall <us@starfall.systems> | 2021-10-29 00:21:12 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2023-12-05 10:00:55 -0600 |
commit | 287ff07313c095fed38d26a81db878337fb2d541 (patch) | |
tree | dd881dfa2efc7dc9e152acb7a744b6606dc95559 /sample/html/with-frontmatter.html | |
parent | c1a35008f59d53feaac6cf4c4c8893e4c956a5e8 (diff) |
strike: 'import os' instead of 'from os import'
The semantics of os.listdir() here are better than Path.iterdir(), since the former provides us paths relative to input_dir which we copy directly over to output_dir. The pathlib version returns the full path to input_dir/file and then we'd have to get file.name outselves.
Diffstat (limited to 'sample/html/with-frontmatter.html')
0 files changed, 0 insertions, 0 deletions