read sign targets from correct path

This commit is contained in:
Evgenii Alekseev 2021-03-31 00:11:05 +03:00
parent cf276f2398
commit 612cb2fa22

View File

@ -82,7 +82,7 @@ class GPG:
""" """
targets = { targets = {
SignSettings.from_option(option) SignSettings.from_option(option)
for option in configuration.getlist("sign", "targets") for option in configuration.getlist("sign", "target")
} }
default_key = configuration.get("sign", "key") if targets else None default_key = configuration.get("sign", "key") if targets else None
return targets, default_key return targets, default_key