diff --git a/twint/cli.py b/twint/cli.py index f463d687..dbdd32b5 100644 --- a/twint/cli.py +++ b/twint/cli.py @@ -331,8 +331,7 @@ def main(): def run_as_command(): - version = ".".join(str(v) for v in sys.version_info[:2]) - if float(version) < 3.6: + if sys.version[:2] < (3,6): print("[-] TWINT requires Python version 3.6+.") sys.exit(0)