We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8643ae8 commit b81f536Copy full SHA for b81f536
Easy_versioning/main.py
@@ -594,13 +594,12 @@ def initial_set_up():
594
595
os.makedirs(data_path, exist_ok=True)
596
597
- footer_path = os.path.join(FOOTER_PATH, "footer.html")
598
- if not os.path.exists(footer_path):
599
- error(f"Footer file does not exist: {footer_path}")
+ if not os.path.exists(DEFAULT_FOOTER):
+ error(f"Footer file does not exist: {DEFAULT_FOOTER}")
600
return
601
try:
602
- shutil.copy(footer_path, data_path)
603
- success(f"Copied footer from {footer_path} to {data_path}")
+ shutil.copy(DEFAULT_FOOTER, data_path)
+ success(f"Copied footer from {DEFAULT_FOOTER} to {data_path}")
604
except Exception as e:
605
error(f"Failed to copy footer: {e}")
606
0 commit comments