summary refs log tree commit diff
path: root/synapse/storage/keys.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-05-24 14:22:59 -0500
committerGitHub <noreply@github.com>2018-05-24 14:22:59 -0500
commit5b788aba905d0efbac7e99acb2a9d98ce2f33863 (patch)
treeb52681195451515f4fd2a5f4fe441030425b4934 /synapse/storage/keys.py
parentMerge pull request #3278 from NotAFile/py3-storage-base (diff)
parentMisc. py3 fixes (diff)
downloadsynapse-5b788aba905d0efbac7e99acb2a9d98ce2f33863.tar.xz
Merge pull request #3280 from NotAFile/py3-more-misc
More Misc. py3 fixes
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