[Bugfix] Attribute path got lost during export in loop over output formats, fixed!
This commit is contained in:
		
							parent
							
								
									3369fb6382
								
							
						
					
					
						commit
						641a3a09e9
					
				| @ -1163,6 +1163,7 @@ class MainWindow(QMainWindow): | ||||
|                 saved_as += str(outformat) + ' ' | ||||
|             except TypeError: | ||||
|                 print('WARNING: Format: {} not yet implemented'.format(outformat))  | ||||
|             self.get_data().setEvtData(event) | ||||
| 
 | ||||
|         msg = 'Event {} saved as {} in format(s) {}'.format(event.pylot_id, fbasename, saved_as.strip()) | ||||
|         self.update_status(msg) | ||||
|  | ||||
| @ -223,7 +223,6 @@ class Data(object): | ||||
|                                                                                        self.get_evt_data().resource_id)) | ||||
|                 self.checkEvent(event, fcheck) | ||||
|                 self.setEvtData(event) | ||||
|             self.get_evt_data().path = fnout | ||||
|             self.get_evt_data().write(fnout + fnext, format=evtformat) | ||||
|         # try exporting event   | ||||
|         else: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user