Update orient.py

added infinite loop