#290 Egon exporter file name
* replace user given file name with file based file name for egon export handling
This commit is contained in:
		
							parent
							
								
									6add878e22
								
							
						
					
					
						commit
						c0ff113ff2
					
				@ -152,7 +152,7 @@ class EgonGmlBuilder:
 | 
			
		||||
                    "oneo:aufnahmezeitpunkt": doc.date_of_creation.strftime(DEFAULT_DATE_FORMAT),
 | 
			
		||||
                    "oneo:bemerkung": doc.comment,
 | 
			
		||||
                    "oneo:fotoverweis": base64.b64encode(doc.file.read()).decode("utf-8"),
 | 
			
		||||
                    "oneo:dateiname": doc.title,
 | 
			
		||||
                    "oneo:dateiname": doc.file.url.split("/")[-1],
 | 
			
		||||
                    "oneo:hauptfoto": False,
 | 
			
		||||
                }
 | 
			
		||||
            } for doc in regular_docs
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user