require Python 3.3+ on startup

This commit is contained in:
lilydjwg 2014-02-13 17:59:05 +08:00
parent e34e89fb14
commit 910e8fe0bf

View file

@ -46,4 +46,6 @@ def main():
print()
if __name__ == '__main__':
if sys.version_info[:2] < (3, 3):
raise OSError('Python 3.3+ required.')
main()