Skip to content

Commit

Permalink
Update src/linkplay/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Vanloo <[email protected]>
  • Loading branch information
daniel-simpson and dukeofphilberg authored Aug 12, 2024
1 parent 6f1868d commit a2f6291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linkplay/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def create_unverified_context() -> ssl.SSLContext:
mtls_certificate_path = os.path.join(dirs.user_data_dir, "linkplay.pem")

if not os.path.isdir(dirs.user_data_dir):
os.mkdir(dirs.user_data_dir)
os.makedirs(dirs.user_data_dir, exist_ok=True)

if not os.path.isfile(mtls_certificate_path):
with open(mtls_certificate_path, "w") as file:
Expand Down

0 comments on commit a2f6291

Please sign in to comment.