mirror of
https://github.com/sherlock-project/sherlock
synced 2024-11-22 20:03:03 +00:00
Update __main__.py with f-strings instead of %s strings (#1906)
This commit is contained in:
commit
87326e3a28
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ if __name__ == "__main__":
|
||||||
python_version = sys.version.split()[0]
|
python_version = sys.version.split()[0]
|
||||||
|
|
||||||
if sys.version_info < (3, 6):
|
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)
|
sys.exit(1)
|
||||||
|
|
||||||
import sherlock
|
import sherlock
|
||||||
|
|
Loading…
Reference in a new issue