]> xmof Git - DeDRM.git/commitdiff
Fix broken key management
authorNoDRM <no_drm123@protonmail.com>
Mon, 27 Dec 2021 09:45:36 +0000 (10:45 +0100)
committerNoDRM <no_drm123@protonmail.com>
Mon, 27 Dec 2021 09:45:36 +0000 (10:45 +0100)
DeDRM_plugin/config.py

index 1c5568420d8b817e9fefd1caa09feed5d7675906..9a7c493420bc4ecf07db3d05073f1ddf5efd8193 100755 (executable)
@@ -377,7 +377,7 @@ class ManageKeysDialog(QDialog):
             # New key generation cancelled.
             return
 
-        if d.k_key_list is not None: 
+        if hasattr(d, "k_key_list") and d.k_key_list is not None: 
             # importing multiple keys
             idx = -1
             dup_key_count = 0