about summary refs log tree commit diff
path: root/gn3
diff options
context:
space:
mode:
Diffstat (limited to 'gn3')
-rw-r--r--gn3/genodb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/genodb.py b/gn3/genodb.py
index 71e9994..d8b906f 100644
--- a/gn3/genodb.py
+++ b/gn3/genodb.py
@@ -15,9 +15,9 @@ class GenotypeDatabase:
     def get(self, hash):
         return self.txn.get(hash)
     def get_metadata(self, hash, metadata):
-        return self.txn.get(hash + b':' + metadata.encode() + b'\0')
+        return self.txn.get(hash + b':' + metadata.encode())
     def matrix(self):
-        hash = self.get(b'current\0')
+        hash = self.get(b'current')
         return Matrix(self, hash)
 
 class Matrix():