Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurinehate committed Dec 2, 2022
1 parent 126b3b2 commit f977f05
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@ def get_sql_alchemy_connect_args(self) -> dict:
if self.private_key is not None:
pkey_bytes = self.private_key.replace("\\n", "\n").encode()
else:
assert (
self.private_key_path
), "missing required private key path to read key from"
with open(self.private_key_path, "rb") as key:
pkey_bytes = key.read()

Expand Down

0 comments on commit f977f05

Please sign in to comment.