From b914d5dd0446fc9e3d296075f02264139351395b Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Mon, 30 Mar 2015 05:45:27 +0200 Subject: [PATCH] Fixed datastore registration bug. --- didex/store.py | 1 + 1 file changed, 1 insertion(+) diff --git a/didex/store.py b/didex/store.py index 8481c0f..43c1348 100644 --- a/didex/store.py +++ b/didex/store.py @@ -107,6 +107,7 @@ class autotype(type): def __call__(self, *args, **kwargs): new = super().__call__(*args, **kwargs) new.id = self.store.register(new) + self.store.update(new.id, vfy=new) # This doesn't feel too nice. return new class autostore(object, metaclass=autotype): -- 2.11.0