From 7a59614b7ef5ac93862c130f9e11fe6ee2ff7639 Mon Sep 17 00:00:00 2001 From: Suchan Jakub Date: Sat, 5 Dec 2020 21:43:24 +0100 Subject: [PATCH] Fixed ._ files problem on OS X --- kobackupdec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 kobackupdec.py diff --git a/kobackupdec.py b/kobackupdec.py old mode 100644 new mode 100755 index f5be035..b2189cb --- a/kobackupdec.py +++ b/kobackupdec.py @@ -877,7 +877,7 @@ def decrypt_backup(password, path_in, path_out, expandtar): xml_files = path_in.glob('*.xml') for entry in xml_files: - if entry.name != 'info.xml': + if entry.name != 'info.xml' and not entry.name.startswith('._'): parse_generic_xml(entry, decrypt_info) logging.debug(decrypt_info.dump())