🩹 Also save when new votings have been pushed
This commit is contained in:
parent
0f43292863
commit
f6a07e69e0
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ class Storage(object):
|
||||||
def push(self, voting: Voting) -> None:
|
def push(self, voting: Voting) -> None:
|
||||||
"""Push a voting to the in-memory voting list."""
|
"""Push a voting to the in-memory voting list."""
|
||||||
self.votings.append(voting)
|
self.votings.append(voting)
|
||||||
|
self.__changed = True
|
||||||
|
|
||||||
def pop(self, title: str) -> Voting:
|
def pop(self, title: str) -> Voting:
|
||||||
"""Pop a voting from the in-memory voting list.
|
"""Pop a voting from the in-memory voting list.
|
||||||
|
|
Loading…
Reference in a new issue