Skip duplicate URLs (1P's "location" is also included in "URLs")

This commit is contained in:
Markus Birth 2021-08-21 02:26:58 +02:00
parent 3823e8b404
commit 0b15bb7aaa
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A

View File

@ -53,6 +53,8 @@ class KpWriter:
if not self.current_entry.url:
self.current_entry.url = url
else:
if url == self.current_entry.url:
return False
# https://github.com/keepassxreboot/keepassxc/pull/3558
suffix = ""
suffix_ctr = 0