kopia lustrzana https://github.com/brendabell/knittingtools
				
				
				
			Fixed the calibration bug
							rodzic
							
								
									f7775d5779
								
							
						
					
					
						commit
						2a63761cb1
					
				|  | @ -46,8 +46,8 @@ def pcgenerator_post(handler): | ||||||
| 		if ctype == 'multipart/form-data': | 		if ctype == 'multipart/form-data': | ||||||
| 			query=cgi.parse_multipart(handler.rfile, pdict) | 			query=cgi.parse_multipart(handler.rfile, pdict) | ||||||
| 
 | 
 | ||||||
| 		calibrate = query.get('test', [''])[0] == 'test' | 		calibrate_only = query.get('test', [''])[0] == 'test' | ||||||
| 		if calibrate: | 		if calibrate_only: | ||||||
| 			result = calibrate() | 			result = calibrate() | ||||||
| 			filename_template = 'attachment; filename="calibrate-{}.{}"' | 			filename_template = 'attachment; filename="calibrate-{}.{}"' | ||||||
| 		else: | 		else: | ||||||
|  |  | ||||||
		Ładowanie…
	
		Reference in New Issue
	
	 Brenda Bell
						Brenda Bell