def _handle_read(self): ins = QDataStream(self.con) set_version(ins) line = str(ins.readString(), encoding='ascii') logging.info(line) windows.goto(int(line))
def _handle_read(self): ins = QDataStream(self.con) set_version(ins) line = str(ins.readString(), encoding='ascii') if line == 'toggle': self.toggle.emit()