basic page rendering

This commit is contained in:
Nick Pegg 2024-08-03 18:02:02 -07:00
parent 4f5bd76f8a
commit 321cbee134
7 changed files with 117 additions and 29 deletions

View file

@ -63,10 +63,9 @@ def cmd_init(args: Namespace) -> None:
skel_files.append(album_file_path)
if not album_file_path.exists():
album_file_path.parent.mkdir(exist_ok=True)
album_file_path.write_bytes(skel_file_path.read_bytes())
logger.debug(f"Created skeleton file {album_file_path}")
album_file_path.parent.mkdir(exist_ok=True)
album_file_path.write_bytes(skel_file_path.read_bytes())
logger.debug(f"Created skeleton file {album_file_path}")
print("Some basic files have been created for your album. Edit them as you need:")
for p in skel_files: