Skip to content

Commit 890ed19

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 17e29df commit 890ed19

File tree

1 file changed

+2
-2
lines changed
  • pytest-embedded-nuttx/pytest_embedded_nuttx

1 file changed

+2
-2
lines changed

pytest-embedded-nuttx/pytest_embedded_nuttx/serial.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ def get_key_from_value(dictionary, val):
7979
# From esp-idf/components/esptool_py:
8080
# We use esptool.py to flash bootloader in dio mode for QIO/QOUT, bootloader then
8181
# upgrades itself to quad mode during initialization.
82-
if self.flash_mode in ("qio", "qout"):
83-
self.flash_mode = "dio"
82+
if self.flash_mode in ('qio', 'qout'):
83+
self.flash_mode = 'dio'
8484

8585
@EspSerial.use_esptool()
8686
def flash(self) -> None:

0 commit comments

Comments
 (0)