We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44aa533 + 0964ab5 commit a12d6f1Copy full SHA for a12d6f1
src/fosslight_prechecker/_precheck.py
@@ -162,7 +162,7 @@ def create_reuse_dep5_file(path):
162
for file_to_exclude in exclude_file_list:
163
str_contents += f"\nFiles: {file_to_exclude} \nCopyright: -\nLicense: -\n"
164
165
- with open(reuse_config_file, "a") as f:
+ with open(reuse_config_file, "a", encoding="utf8") as f:
166
if not need_rollback:
167
f.write(_DEFAULT_CONFIG_PREFIX)
168
f.write(str_contents)
0 commit comments