Skip to content

Commit

Permalink
ruff fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mietzen committed Oct 7, 2023
1 parent ed02878 commit 39f8eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion porkbun_ddns/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def main(argv=sys.argv[1:]):
"secretapikey": os.environ["PORKBUN_SECRETAPIKEY"],
}
config["endpoint"] = os.environ.get("PORKBUN_DDNS_ENDPOINT", "https://porkbun.com/api/json/v3")
except KeyError as e:
except KeyError:
logger.error("Invalid config environment variables.")
else:
config = args.config
Expand Down

0 comments on commit 39f8eb3

Please sign in to comment.