فهرست منبع

Scripts: remove padding from cli output detection (#790)

あく 4 سال پیش
والد
کامیت
122e0a89ab
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      scripts/flipper/storage.py

+ 1 - 1
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)