File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -647,7 +647,7 @@ def process_pyproject(self, filename):
647647 filePath = pathlib .Path (filename )
648648 # Check path exists and is a valid file
649649 if filePath .exists () and filePath .is_file ():
650- with open (filename ) as file :
650+ with open (filename , "rb" ) as file :
651651 pyproject_data = toml .load (file )
652652 if "project" in pyproject_data :
653653 if "dependencies" in pyproject_data ["project" ]:
@@ -713,7 +713,7 @@ def process_pylock(self, filename):
713713 filePath = pathlib .Path (filename )
714714 # Check path exists and is a valid file
715715 if filePath .exists () and filePath .is_file ():
716- with open (filename ) as file :
716+ with open (filename , "rb" ) as file :
717717 pylock_data = toml .load (file )
718718 if "lock-version" in pylock_data :
719719 if self .debug :
You can’t perform that action at this time.
0 commit comments