diff --git a/uncompyle6/main.py b/uncompyle6/main.py index f5c81354..02a8b585 100644 --- a/uncompyle6/main.py +++ b/uncompyle6/main.py @@ -298,7 +298,7 @@ def main( else: buffering = 0 sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', buffering) - if PYTHON_VERSION > 2.6: + if PYTHON_VERSION_TRIPLE > (2, 6): tee = subprocess.Popen(["tee", current_outfile], stdin=subprocess.PIPE) os.dup2(tee.stdin.fileno(), sys.stdout.fileno())