Skip to content

Commit

Permalink
remember to close the certificate file
Browse files Browse the repository at this point in the history
  • Loading branch information
arska committed Nov 12, 2024
1 parent aaff4d8 commit a4104bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controlmyspa.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def __init__(self, email, password):
with open(cafile, "ab") as outfile:
outfile.write(b"\n")
outfile.write(customca)
outfile.close()

# log in and fetch pool info
self._get_idm()
Expand Down

0 comments on commit a4104bb

Please sign in to comment.