1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

smol fix: 'exception' -> 'Exception'

This commit is contained in:
OniriCorpe 2024-03-22 04:48:36 +01:00 committed by Bram
parent 23eda1352f
commit 81ea689da8

View file

@ -379,7 +379,7 @@ def add_to_wishlist():
# Get the commit base for the new branch, and create it
commit_sha = repo.get_branch(repo.default_branch).commit.sha
repo.create_git_ref(ref=f"refs/heads/{new_branch}", sha=commit_sha)
except exception as e:
except Exception as e:
print("… Failed to create branch ?")
print(e)
url = "https://github.com/YunoHost/apps/pulls?q=is%3Apr+is%3Aopen+label%3AWishlist"