Skip to content

Commit 4991ddd

Browse files
committed
fix(config): fix asar file decoding error (#154)
1 parent 4e2cd44 commit 4991ddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrekordbox/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def read_rekordbox6_asar(rb6_install_dir: Union[str, Path]) -> str:
263263
# Read asar file
264264
path = (location / "app.asar").absolute()
265265
with open(path, "rb") as fh:
266-
data = fh.read().decode(encoding)
266+
data = fh.read().decode(encoding, errors="replace")
267267
return data
268268

269269

0 commit comments

Comments
 (0)