We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ff337e commit 0b9f22cCopy full SHA for 0b9f22c
1 file changed
shellfoundry/utilities/driver_generator.py
@@ -73,7 +73,7 @@ def _generate_driver_data_model(
73
url,
74
files={
75
path.basename(shell_filename): open(
76
- package_full_path, "rb", encoding="utf8"
+ package_full_path, "rb"
77
)
78
},
79
headers={"Authorization": "Basic " + token},
@@ -90,7 +90,7 @@ def _generate_driver_data_model(
90
with TempDirContext(remove_dir_on_error=False, prefix=shell_name) as temp_dir:
91
generated_zip = path.join(temp_dir, shell_filename)
92
click.echo("Writing temporary file {0}".format(generated_zip))
93
- with open(generated_zip, "wb", encoding="utf8") as driver_file:
+ with open(generated_zip, "wb") as driver_file:
94
driver_file.write(response.content)
95
96
click.echo("Extracting generated code at {0}".format(destination_path))
0 commit comments