aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/group-encrypt-sign-file.py
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/examples/howto/group-encrypt-sign-file.py')
-rwxr-xr-xlang/python/examples/howto/group-encrypt-sign-file.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/examples/howto/group-encrypt-sign-file.py b/lang/python/examples/howto/group-encrypt-sign-file.py
index 920e50da..da73e4cd 100755
--- a/lang/python/examples/howto/group-encrypt-sign-file.py
+++ b/lang/python/examples/howto/group-encrypt-sign-file.py
@@ -63,7 +63,7 @@ b = a.index(group)
for i in range(len(group_lists[b][1])):
logrus = group_lists[b][1][i]
- keys.append(gpg.Context().keylist(pattern=logrus))
+ keys.append(list(gpg.Context().keylist(pattern=logrus)))
with open(filename, "rb") as f:
text = f.read()