Update __main__.py with f-strings instead of %s strings (#1906)

This commit is contained in:
Matheus Felipe 2024-03-15 12:45:01 -03:00 committed by GitHub
commit 87326e3a28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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