dbusmock/fprintd: Reset the current action on release

So it happens in the real daemon
This commit is contained in:
Marco Trevisan (Treviño)
2020-04-03 02:08:17 +02:00
parent 5a703baa20
commit 629f7fcc11

View File

@ -186,6 +186,7 @@ def Release(device):
'Device was not claimed before use',
name='net.reactivated.Fprint.Error.ClaimDevice')
device.claimed_user = None
device.action = None
def can_verify_finger(device, finger_name):
# We should already have checked that there are enrolled fingers