Bugfix: PyLoT could not cope with input file if not called pylot.in.
This commit is contained in:
		
							parent
							
								
									92525732a3
								
							
						
					
					
						commit
						74b19ac094
					
				| @ -178,6 +178,9 @@ class AutoPickParameter(object): | ||||
|             else: | ||||
|                 return | ||||
| 
 | ||||
|         if isinstance(fnin, (list, tuple)): | ||||
|             fnin = fnin[0] | ||||
| 
 | ||||
|         inputFile = open(fnin, 'r') | ||||
|         try: | ||||
|             lines = inputFile.readlines() | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user