update format to fstring

This commit is contained in:
crazyiop
2022-06-11 23:54:01 +02:00
committed by xs5871
parent 6068b60cac
commit ffcfc9835d
9 changed files with 30 additions and 44 deletions

View File

@@ -22,7 +22,7 @@ class LockStatus(Extension):
self.hid = device
def __repr__(self):
return ('LockStatus(report={})').format(self.report)
return f'LockStatus(report={self.report})'
def during_bootup(self, sandbox):
return