

fix re-creation bug
fix re-creation bug
@e8763b259e0662f52bf9a00cc6c1ac78da686cc1
--- whisper_online_server.py
+++ whisper_online_server.py
... | ... | @@ -160,7 +160,6 @@ |
160 | 160 |
# server loop |
161 | 161 |
|
162 | 162 |
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: |
163 |
- s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |
|
164 | 163 |
s.bind((args.host, args.port)) |
165 | 164 |
s.listen(1) |
166 | 165 |
logger.info('Listening on'+str((args.host, args.port))) |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?