Skip to content

Commit

Permalink
Remove encoding and disable pylint whinging
Browse files Browse the repository at this point in the history
  • Loading branch information
ns-rse committed Nov 30, 2023
1 parent c697f81 commit 5490f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topofileformats/asd.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def load_asd(file_path: Path | str, channel: str):
version please either look into the `read_header_file_version_x` functions or print the keys too see what metadata
is available.
"""
with Path.open(file_path, "rb", encoding="UTF-8") as open_file:
with Path.open(file_path, "rb", encoding=None) as open_file: # pylint: disable=W1514
file_version = read_file_version(open_file)

if file_version == 0:
Expand Down

0 comments on commit 5490f26

Please sign in to comment.