Minor detail

This commit is contained in:
alessandro90
2018-11-11 16:04:21 +01:00
parent 8ec50b2ce6
commit 71b5723913
2 changed files with 15 additions and 17 deletions

View File

@@ -49,6 +49,12 @@ class Constants(object):
unknown = "Unknown"
def reset_apply_remove_btn(button):
if button.isChecked():
button.setChecked(False)
button.clicked.emit()
def checksum_ok(data, what):
code = hashlib.sha256()
code.update(data)