2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-16 00:12:48 +00:00
This commit is contained in:
marxzuckerburg 2020-10-04 11:00:22 +01:00
parent 0e57a3543b
commit 0107c7080c

View File

@ -11,7 +11,6 @@ import zlib
from pythemis.exception import ThemisError from pythemis.exception import ThemisError
# from vedis import Vedis # from vedis import Vedis
# from walrus.tusks.rlite import WalrusLite # from walrus.tusks.rlite import WalrusLite
import hirlite
LOG_GET_SET = 0 LOG_GET_SET = 0
@ -62,6 +61,7 @@ class Crypt(Logger):
# self.store = RedisStore(redis.StrictRedis()) # self.store = RedisStore(redis.StrictRedis())
# self.db = Vedis(self.fn) # self.db = Vedis(self.fn)
# self.db = WalrusLite(self.fn) # self.db = WalrusLite(self.fn)
import hirlite
self.db = hirlite.Rlite(path=self.fn) self.db = hirlite.Rlite(path=self.fn)