Update __main__.py with f-strings instead of `%s` strings

pull/1906/head
SmashedFrenzy16 7 months ago committed by GitHub
parent cf171c7b72
commit 6c5a17b988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,7 +15,7 @@ if __name__ == "__main__":
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

Loading…
Cancel
Save