mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
fix usage of port in server
This commit is contained in:
parent
c2aab648c8
commit
687a11719a
|
|
@ -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