summary refs log tree commit diff
path: root/synapse/storage/keys.py
diff options
context:
space:
mode:
authorAdrian Tschira <nota@notafile.com>2018-05-05 22:47:18 +0200
committerAdrian Tschira <nota@notafile.com>2018-05-24 20:20:33 +0200
commit17a70cf6e9ae016011972b4d8a97aca0c3d945d4 (patch)
treeb52681195451515f4fd2a5f4fe441030425b4934 /synapse/storage/keys.py
parentMerge pull request #3278 from NotAFile/py3-storage-base (diff)
downloadsynapse-17a70cf6e9ae016011972b4d8a97aca0c3d945d4.tar.xz
Misc. py3 fixes
Signed-off-by: Adrian Tschira <nota@notafile.com>
Diffstat (limited to 'synapse/storage/keys.py')
-rw-r--r--synapse/storage/keys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/keys.py b/synapse/storage/keys.py
index 87aeaf71d6..0540c2b0b1 100644
--- a/synapse/storage/keys.py
+++ b/synapse/storage/keys.py
@@ -92,7 +92,7 @@ class KeyStore(SQLBaseStore):
 
         if verify_key_bytes:
             defer.returnValue(decode_verify_key_bytes(
-                key_id, str(verify_key_bytes)
+                key_id, bytes(verify_key_bytes)
             ))
 
     @defer.inlineCallbacks