|
|
@ -20,7 +20,7 @@ if __name__ == "__main__":
|
|
|
|
major = sys.version_info[0]
|
|
|
|
major = sys.version_info[0]
|
|
|
|
minor = sys.version_info[1]
|
|
|
|
minor = sys.version_info[1]
|
|
|
|
|
|
|
|
|
|
|
|
python_version = major + "." + minor + "." + str(sys.version_info[2])
|
|
|
|
python_version = str(major) + "." + str(minor) + "." + str(sys.version_info[2])
|
|
|
|
|
|
|
|
|
|
|
|
if major != 3 or major == 3 and minor < 6:
|
|
|
|
if major != 3 or major == 3 and minor < 6:
|
|
|
|
print("Sherlock requires Python 3.6+\nYou are using Python %s, which is not supported by Sherlock" % (python_version))
|
|
|
|
print("Sherlock requires Python 3.6+\nYou are using Python %s, which is not supported by Sherlock" % (python_version))
|
|
|
|