Skip to content

Commit

Permalink
Update version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
Qirky committed Feb 6, 2019
1 parent fd5691f commit f5ea58e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

class Client:

version = '0.9.1'
version = VERSION
ui = None
send = None
recv = None
Expand Down
2 changes: 2 additions & 0 deletions src/config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import sys
import os, os.path

VERSION = "0.9.2"

# Check for location of Python

if sys.argv[0] == sys.executable: # If this is compiled file, just use python
Expand Down
7 changes: 4 additions & 3 deletions src/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ class TroopServer(OTServer):
network connect to it and send their keypress information
to the server, which then sends it on to the others
"""
bytes = 2048
bytes = 2048
version = VERSION
def __init__(self, password="", port=57890, log=False, debug=False):

# Operation al transform info
Expand Down Expand Up @@ -256,13 +257,13 @@ def start(self):
self.server_thread.start()
self.msg_queue_thread.start()

stdout("Server running @ {} on port {}\n".format(self.ip_pub, self.port))
stdout("Server running @ {} on port {}. Ver. {}\n".format(self.ip_pub, self.port, self.version))

while True:

try:

sleep(0.5)
sleep(1)

except KeyboardInterrupt:

Expand Down

0 comments on commit f5ea58e

Please sign in to comment.