Fix a driver problem with older versions of python