Must pass unicode to StringIO
This commit is contained in:
		
					parent
					
						
							
								94a17bb494
							
						
					
				
			
			
				commit
				
					
						9765599b49
					
				
			
		
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
					@ -206,10 +206,10 @@ def create_release_draft(github, tag):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def release_electron_checksums(github, release):
 | 
					def release_electron_checksums(github, release):
 | 
				
			||||||
  checksums = run_python_script(
 | 
					  checksums = run_python_script('merge-electron-checksums.py',
 | 
				
			||||||
      'merge-electron-checksums.py', '-v', ELECTRON_VERSION)
 | 
					                                '-v', ELECTRON_VERSION)
 | 
				
			||||||
  upload_io_to_github(github, release,
 | 
					  upload_io_to_github(github, release, 'SHASUMS256.txt',
 | 
				
			||||||
      'SHASUMS256.txt', StringIO(checksums), 'text/plain')
 | 
					                      StringIO(checksums.decode('utf-8')), 'text/plain')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def upload_electron(github, release, file_path):
 | 
					def upload_electron(github, release, file_path):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue