From 0b15bb7aaa51fa1548eb9d43408d2564040477d7 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sat, 21 Aug 2021 02:26:58 +0200 Subject: [PATCH] Skip duplicate URLs (1P's "location" is also included in "URLs") --- kpwriter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kpwriter.py b/kpwriter.py index ec10cd7..346c69b 100644 --- a/kpwriter.py +++ b/kpwriter.py @@ -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