From 6803d4bf425811a2a0be2340c9370a4dc91c58be Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Mon, 26 Oct 2020 10:32:56 +0100 Subject: [PATCH] fix import error --- app/pgp_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/pgp_utils.py b/app/pgp_utils.py index 334d8c6d..9d2d08c6 100644 --- a/app/pgp_utils.py +++ b/app/pgp_utils.py @@ -7,6 +7,7 @@ from memory_profiler import memory_usage from app.config import GNUPGHOME from app.log import LOG from app.models import Mailbox, Contact +from app.utils import random_string gpg = gnupg.GPG(gnupghome=GNUPGHOME) gpg.encoding = "utf-8"