From 122e0a89abac70a293c522f2c5943480691efe89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=82=E3=81=8F?= Date: Tue, 26 Oct 2021 18:29:03 +0300 Subject: [PATCH] Scripts: remove padding from cli output detection (#790) --- scripts/flipper/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/flipper/storage.py b/scripts/flipper/storage.py index 589c5768..73799cef 100644 --- a/scripts/flipper/storage.py +++ b/scripts/flipper/storage.py @@ -65,7 +65,7 @@ class FlipperStorage: self.port.reset_input_buffer() # Send a command with a known syntax to make sure the buffer is flushed self.send("device_info\r") - self.read.until("hardware_model :") + self.read.until("hardware_model") # And read buffer until we get prompt self.read.until(self.CLI_PROMPT)