parent
72dea02735
commit
5aa0fddb9b
1 changed files with 5 additions and 1 deletions
|
@ -23,7 +23,11 @@ def download_file(url: str):
|
|||
|
||||
|
||||
def main():
|
||||
rmtree(OUTPUT_DIR)
|
||||
try:
|
||||
rmtree(OUTPUT_DIR)
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
|
||||
OUTPUT_DIR.mkdir(exist_ok=True)
|
||||
|
||||
logo = download_file(f"{GITEA_ROOT}/assets/img/logo.svg")
|
||||
|
|
Reference in a new issue