From 294ef1ef14fefdd69fab13d0de7b478121989bca Mon Sep 17 00:00:00 2001 From: Chris Fiege Date: Mon, 18 Dec 2023 12:16:18 +0100 Subject: [PATCH] main: Fix Typo: It is 'a USB-SD-Mux' This fixes the typo mentioned in #59: https://github.com/linux-automation/usbsdmux/issues/59 Closes #59 Signed-off-by: Chris Fiege --- usbsdmux/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usbsdmux/__main__.py b/usbsdmux/__main__.py index 79acd58..c3f56b5 100755 --- a/usbsdmux/__main__.py +++ b/usbsdmux/__main__.py @@ -72,7 +72,7 @@ def main(): try: ctl = autoselect_driver(args.sg) except UnknownUsbSdMuxRevisionException as e: - error_msg = str(e) + "\n" + f"Does {args.sg} really point to an USB-SD-Mux?" + error_msg = str(e) + "\n" + f"Does {args.sg} really point to a USB-SD-Mux?" if args.json: print(json.dumps({"error-message": error_msg})) else: @@ -134,7 +134,7 @@ def main(): except OSError as ose: if ose.errno == errno.ENOTTY: # ENOTTY is raised when an error occurred when calling an ioctl - error_msg = ose + "\n" + f"Does '{args.sg}' really point to an USB-SD-Mux?" + error_msg = ose + "\n" + f"Does '{args.sg}' really point to a USB-SD-Mux?" else: raise ose except NotInHostModeException: