mirror of https://gitlab.com/bashrc2/epicyon
				
				
				
			Use the first key
							parent
							
								
									1a2bfd90ce
								
							
						
					
					
						commit
						b78fbe86c9
					
				|  | @ -514,6 +514,8 @@ def xml_podcast_to_dict(xml_item: str, xml_str: str) -> {}: | |||
|                 podcast_properties[pod_key + 's'].append(pod_entry) | ||||
|                 appended = True | ||||
|         if not appended: | ||||
|             # if there are repeated keys then only use the first one | ||||
|             if not podcast_properties.get(pod_key): | ||||
|                 podcast_properties[pod_key] = pod_entry | ||||
|         ctr += 1 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue