mirror of https://gitlab.com/gpvkt/twitchtts.git
removed debug message
This commit is contained in:
parent
71cba396e3
commit
b98997c0a5
3
tts.py
3
tts.py
|
@ -13,7 +13,6 @@ import socketserver
|
||||||
from threading import Thread, current_thread
|
from threading import Thread, current_thread
|
||||||
from http.server import BaseHTTPRequestHandler
|
from http.server import BaseHTTPRequestHandler
|
||||||
from urllib.parse import urlparse, parse_qs
|
from urllib.parse import urlparse, parse_qs
|
||||||
from pprint import pprint
|
|
||||||
|
|
||||||
class IRC:
|
class IRC:
|
||||||
irc = socket.socket()
|
irc = socket.socket()
|
||||||
|
@ -80,7 +79,6 @@ class IRC:
|
||||||
logging.debug(msgid)
|
logging.debug(msgid)
|
||||||
|
|
||||||
for msg in list(msg_queue_raw):
|
for msg in list(msg_queue_raw):
|
||||||
pprint(msg)
|
|
||||||
if msg['msgid'] == msgid:
|
if msg['msgid'] == msgid:
|
||||||
logging.info('Suppressing message '+str(msgid))
|
logging.info('Suppressing message '+str(msgid))
|
||||||
else:
|
else:
|
||||||
|
@ -392,7 +390,6 @@ def main():
|
||||||
logging.info('Sending TTS message')
|
logging.info('Sending TTS message')
|
||||||
msg_queue[raw_msg['timestamp']] = [raw_msg['user'], raw_msg['msg']]
|
msg_queue[raw_msg['timestamp']] = [raw_msg['user'], raw_msg['msg']]
|
||||||
logging.debug(msg_queue)
|
logging.debug(msg_queue)
|
||||||
pprint(msg_queue)
|
|
||||||
else:
|
else:
|
||||||
logging.debug('Msg is already in queue')
|
logging.debug('Msg is already in queue')
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|
Loading…
Reference in New Issue