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

pull/2050/head
Matheus Felipe 2 months ago committed by GitHub
commit 87326e3a28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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