From 90d096a91831df94b62e7670261935b6da992402 Mon Sep 17 00:00:00 2001 From: "DSTO\\pivatom" Date: Mon, 14 Jan 2019 11:17:26 +1030 Subject: [PATCH] Add client sending the vote as a private variable. --- DecisionSystem/vote.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DecisionSystem/vote.py b/DecisionSystem/vote.py index f5a5e47..28c34cf 100644 --- a/DecisionSystem/vote.py +++ b/DecisionSystem/vote.py @@ -1,8 +1,10 @@ from Messaging.packmessage import PackMessage class Vote(PackMessage): - def __init__(self, vote = None): + def __init__(self, client, vote = None): self._vote = vote + self._client = client + @property def vote(self):