diff options
Diffstat (limited to 'plugins/gpg')
-rw-r--r-- | plugins/gpg/gnupg.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/gpg/gnupg.py b/plugins/gpg/gnupg.py index e3bed526..e9e45711 100644 --- a/plugins/gpg/gnupg.py +++ b/plugins/gpg/gnupg.py @@ -204,6 +204,8 @@ class GPG(object): lines = [] while True: line = stream.readline() + if not isinstance(line, str): + line = line.decode('utf-8') lines.append(line) if self.verbose: print(line) |