From 81ea689da8923e69b5759ddbffcebad913e00378 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Fri, 22 Mar 2024 04:48:36 +0100 Subject: [PATCH] smol fix: 'exception' -> 'Exception' --- store/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/app.py b/store/app.py index 1b55c51b..0f5d6ba7 100644 --- a/store/app.py +++ b/store/app.py @@ -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"