def __init__(self, db, cryptostorage): self.store = LiteAxolotlStore(db, cryptostorage) if not self.store.getLocalRegistrationId(): self.init_store()