use utf-8 for PGP
This commit is contained in:
parent
c369742706
commit
cf257a92ec
|
@ -3,6 +3,7 @@ import gnupg
|
||||||
from app.config import GNUPGHOME
|
from app.config import GNUPGHOME
|
||||||
|
|
||||||
gpg = gnupg.GPG(gnupghome=GNUPGHOME)
|
gpg = gnupg.GPG(gnupghome=GNUPGHOME)
|
||||||
|
gpg.encoding = "utf-8"
|
||||||
|
|
||||||
|
|
||||||
class PGPException(Exception):
|
class PGPException(Exception):
|
||||||
|
|
Loading…
Reference in a new issue