def property_total_bytes_value_change(self, model, old, new): if old != new and new != '': self.view['total_bytes_label'].set_text(bytes_repr(new)) logger.info("Total bytes: %d", new)
def property_tx_bytes_value_change(self, model, old, new): if old != new: self.view['tx_bytes_label'].set_text(bytes_repr(new)) logger.info("Bytes tx: %d", new)