Update __main__.py with f-strings instead of `%s` strings
This commit is contained in:
parent
cf171c7b72
commit
6c5a17b988
|
|
@ -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…
Reference in New Issue