From: Fredrik Tolf Date: Mon, 30 Mar 2015 03:45:27 +0000 (+0200) Subject: Fixed datastore registration bug. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=b914d5dd0446fc9e3d296075f02264139351395b;p=didex.git Fixed datastore registration bug. --- 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):