kopia lustrzana https://github.com/espressif/esp-idf
Fixed comparsion of integer and string that evaluated always to False
Closes https://github.com/espressif/esp-idf/issues/9052 Closes IDFGH-7482pull/9141/head
rodzic
8d3eca6a0d
commit
24e856a509
|
@ -27,7 +27,7 @@ def get_parser(): # type: () -> argparse.ArgumentParser
|
||||||
'--disable-address-decoding', '-d',
|
'--disable-address-decoding', '-d',
|
||||||
help="Don't print lines about decoded addresses from the application ELF file",
|
help="Don't print lines about decoded addresses from the application ELF file",
|
||||||
action='store_true',
|
action='store_true',
|
||||||
default=os.environ.get('ESP_MONITOR_DECODE') == 0
|
default=os.getenv('ESP_MONITOR_DECODE') == '0'
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
|
Ładowanie…
Reference in New Issue