forked from bartvdbraak/blender
complain if running with py2
This commit is contained in:
parent
513c8738ce
commit
a0e1221472
@ -274,5 +274,9 @@ def main():
|
||||
|
||||
|
||||
if __name__=='__main__':
|
||||
import sys
|
||||
if not sys.version.startswith("3"):
|
||||
print("Incorrect python version, use python 3!")
|
||||
else:
|
||||
main()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user