Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Plabick committed Jul 22, 2021
1 parent 911ec92 commit b45b8e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def add_secret(token, target_repository, secret_name, secret_value):
response = r.json()
try:
secret_names = flatten_secrets_dict(response["secrets"])
catch:
except:
secret_names = []
if secret_name not in secret_names:
print(f"Secret \"{secret_name}\" added to {repo_name}")
Expand Down

0 comments on commit b45b8e7

Please sign in to comment.