mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
Merge pull request #45 from BOSWatch/bugfix/port_usage
Fix usage of "port" flag in bw_server.py
This commit is contained in:
commit
e004908652
|
|
@ -86,7 +86,7 @@ try:
|
|||
|
||||
incomingQueue = queue.Queue()
|
||||
bwServer = TCPServer(incomingQueue)
|
||||
if bwServer.start():
|
||||
if bwServer.start(port=bwConfig.get('server', 'port', default=8080)):
|
||||
|
||||
while 1:
|
||||
if incomingQueue.empty(): # pause only when no data
|
||||
|
|
|
|||
Loading…
Reference in a new issue