| debug("Starting interactivity...") | debug("Starting interactivity...") | ||||
| app.exec_() | app.exec_() | ||||
| def send_message(ipt, text_area): | |||||
| debug("Sending message!") | |||||
| text_area.append("{}: {}".format(ipt.username, ipt.message.text())) | |||||
| ipt.message.clear() | |||||
| def config(): | def config(): | ||||
| config = configparser.ConfigParser() | config = configparser.ConfigParser() | ||||
| if not os.path.isfile('config.ini'): | if not os.path.isfile('config.ini'): |