From 2dde4900c4f7bcc3b7e24f29b186d5ea11c53c72 Mon Sep 17 00:00:00 2001 From: Egor Date: Mon, 9 Dec 2024 22:14:54 -0800 Subject: [PATCH] not values --- ASCII_SA.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ASCII_SA.py b/ASCII_SA.py index c3d0929..1a9299d 100644 --- a/ASCII_SA.py +++ b/ASCII_SA.py @@ -304,10 +304,10 @@ if __name__ == "__main__": if args.no_debug is False: show_debug = input("Show debug information? (yes/no, default: yes): ").strip().lower() not in ["no", "n"] else: - show_debug = args.no_debug + show_debug = not args.no_debug if args.no_color is False: use_color = input("Use colored output? (yes/no, default: yes): ").strip().lower() not in ["no", "n"] else: - use_color = args.no_color + use_color = not args.no_color curses.wrapper(read_serial_data, selected_port, baudrate, resolution_mhz, db_threshold, db_per_hash, use_color, show_debug)