diff --git a/python/identify_filenames.py b/python/identify_filenames.py index 59f72753..efccee6c 100644 --- a/python/identify_filenames.py +++ b/python/identify_filenames.py @@ -11,8 +11,8 @@ examined for every feature. """ -import platform -if platform.python_version_tuple() < ('3','2','0'): +import sys +if sys.version_info < (3,2): raise RuntimeError('This script now requires Python 3.2 or above') try: