style: fix linter errors

This commit is contained in:
Anna Antonenko 2024-09-16 19:29:55 +03:00
parent 1a9aca2d8c
commit 4a8202514d
No known key found for this signature in database
GPG Key ID: 89A260885DBA8CF2
2 changed files with 3 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -13,7 +13,9 @@ def main():
parser.add_argument("-p", "--port", help="CDC Port", default="auto") parser.add_argument("-p", "--port", help="CDC Port", default="auto")
args = parser.parse_args() args = parser.parse_args()
if not (port := resolve_port(logger, args.port)): if not (port := resolve_port(logger, args.port)):
logger.error("Is Flipper connected via USB, currently unlocked and not in DFU mode?") logger.error(
"Is Flipper connected via USB, currently unlocked and not in DFU mode?"
)
return 1 return 1
subprocess.call( subprocess.call(
[ [