File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 22History
33=======
44
5+ 1.2.19 (2021-07-27)
6+ -------------------
7+
8+ * Fixed encoding issue
9+
5101.2.18 (2021-04-14)
611-------------------
712
Original file line number Diff line number Diff line change @@ -71,11 +71,7 @@ def _generate_driver_data_model(
7171 token = client .token
7272 response = post (
7373 url ,
74- files = {
75- path .basename (shell_filename ): open (
76- package_full_path , "rb" , encoding = "utf8"
77- )
78- },
74+ files = {path .basename (shell_filename ): open (package_full_path , "rb" )},
7975 headers = {"Authorization" : "Basic " + token },
8076 )
8177
@@ -90,7 +86,7 @@ def _generate_driver_data_model(
9086 with TempDirContext (remove_dir_on_error = False , prefix = shell_name ) as temp_dir :
9187 generated_zip = path .join (temp_dir , shell_filename )
9288 click .echo ("Writing temporary file {0}" .format (generated_zip ))
93- with open (generated_zip , "wb" , encoding = "utf8" ) as driver_file :
89+ with open (generated_zip , "wb" ) as driver_file :
9490 driver_file .write (response .content )
9591
9692 click .echo ("Extracting generated code at {0}" .format (destination_path ))
Original file line number Diff line number Diff line change 1- 1.2.18
1+ 1.2.19
You can’t perform that action at this time.
0 commit comments