Commit 1ada90d
committed
Fix binary mode open() call in _get_file_digest()
Remove incorrect encoding parameter from binary mode open() call.
Binary mode ('rb') doesn't accept encoding parameter.
This was incorrectly added in PR #24 (CJK encoding fix) which added
encoding to all open() calls, but binary mode doesn't accept encoding.
Fixes: ValueError: binary mode doesn't take an encoding argument
when running lock --update on projects with local file paths.1 parent 1a1cbed commit 1ada90d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments