This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/borg/hashindex.pyx b/borg/hashindex.pyx | |
index 6652e05..0b4dc26 100644 | |
--- a/borg/hashindex.pyx | |
+++ b/borg/hashindex.pyx | |
@@ -37,7 +37,8 @@ cdef class IndexBase: | |
def __cinit__(self, capacity=0, path=None, key_size=32): | |
self.key_size = key_size | |
if path: | |
- self.index = hashindex_read(os.fsencode(path)) | |
+ path = os.fsencode(path) |