From 6c5a17b98802a11f24fff7a6385203893560a036 Mon Sep 17 00:00:00 2001 From: SmashedFrenzy16 Date: Thu, 5 Oct 2023 12:19:43 +0100 Subject: [PATCH] Update __main__.py with f-strings instead of `%s` strings --- sherlock/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sherlock/__main__.py b/sherlock/__main__.py index 28d0a1607..b10bd6aef 100644 --- a/sherlock/__main__.py +++ b/sherlock/__main__.py @@ -15,7 +15,7 @@ python_version = sys.version.split()[0] if sys.version_info < (3, 6): - print("Sherlock requires Python 3.6+\nYou are using Python %s, which is not supported by Sherlock" % (python_version)) + print(f"Sherlock requires Python 3.6+\nYou are using Python {python_version}, which is not supported by Sherlock.") sys.exit(1) import sherlock