aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/olm/pk.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/olm/pk.py b/python/olm/pk.py
index 6c91b98..193aba5 100644
--- a/python/olm/pk.py
+++ b/python/olm/pk.py
@@ -35,11 +35,13 @@ Examples:
from builtins import super
from typing import AnyStr, Type
+
from future.utils import bytes_to_native_str
from _libolm import ffi, lib # type: ignore
-from ._finalize import track_for_finalization
+
from ._compat import URANDOM, to_bytearray
+from ._finalize import track_for_finalization
class PkEncryptionError(Exception):