mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-23 13:21:44 +03:00
style: fix linter errors
This commit is contained in:
parent
1a9aca2d8c
commit
4a8202514d
Binary file not shown.
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.5 KiB |
@ -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(
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user