Show More
@@ -339,7 +339,7 b' def main():' | |||||
339 |
|
339 | |||
340 |
|
340 | |||
341 | if __name__ == '__main__': |
|
341 | if __name__ == '__main__': | |
342 |
if sys.version_info |
|
342 | if sys.version_info[0:2] < (3, 6): | |
343 | print('This script must be run under Python 3.') |
|
343 | print('This script must be run under Python 3.6+') | |
344 | sys.exit(3) |
|
344 | sys.exit(3) | |
345 | main() |
|
345 | main() |
General Comments 0
You need to be logged in to leave comments.
Login now