Skip to content

Commit

Permalink
Merge pull request #3 from project-neon/chore/update-version
Browse files Browse the repository at this point in the history
Chore/update version
  • Loading branch information
Raphael-AugustoG authored Jun 13, 2024
2 parents 3ce693e + 2101ed9 commit efe3ed2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion pyVSSSReferee/RefereeComm.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def __init__(self, config_file = None):
self._color = None
self._quadrant = None
self._foul = None

self.kill_recieved = False

def get_last_foul(self):
"""Returns last foul information.
Expand All @@ -68,7 +70,7 @@ def run(self):
print("Starting referee...")
self.referee_sock = self._create_socket()
print("Referee completed!")
while True:
while not self.kill_recieved:
c = vssref_command_pb2.VSSRef_Command()
data = self.referee_sock.recv(1024)
c.ParseFromString(data)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
protobuf==3.6.1
protobuf == 3.20.3
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
author="Project-Neon",
author_email="projectneon@gmail.com",
license="GNU",
install_requires=['protobuf==3.6.1'],
install_requires=['protobuf==3.20.3'],
)

0 comments on commit efe3ed2

Please sign in to comment.