Move logout h into the State model

This commit is contained in:
Mads Marquart
2019-05-02 20:50:25 +02:00
parent 8e7afa2edf
commit a4268f36cf
2 changed files with 14 additions and 9 deletions

View File

@@ -13,6 +13,11 @@ class State(object):
fb_dtsg = attr.ib(None)
_revision = attr.ib(None)
_counter = attr.ib(0)
_logout_h = attr.ib(None)
@property
def logout_h(self):
return self._logout_h
def get_params(self):
if self.fb_dtsg is None: