kopia lustrzana https://github.com/jbruce12000/kiln-controller
				
				
				
			fix type of arg
							rodzic
							
								
									2ea32dd05f
								
							
						
					
					
						commit
						92002c7a0b
					
				|  | @ -79,7 +79,7 @@ def tune(csvfile, targettemp): | |||
| if __name__ == "__main__": | ||||
|     parser = argparse.ArgumentParser(description='Record data for kiln tuning') | ||||
|     parser.add_argument('csvfile', type=str, help="The CSV file to write to.") | ||||
|     parser.add_argument('--targettemp', type='int', default=400, help="The target temperature to drive the kiln to.") | ||||
|     parser.add_argument('--targettemp', type=int, default=400, help="The target temperature to drive the kiln to.") | ||||
|     args = parser.parse_args() | ||||
| 
 | ||||
|     tune(args.csvfile, args.targettemp) | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Andrew de Quincey
						Andrew de Quincey