-fix hanging of pypo at system boot.

This commit is contained in:
Martin Konecny 2011-05-24 20:31:05 -04:00
parent 6b00b29e75
commit 05e02f6081
1 changed files with 4 additions and 1 deletions

View File

@ -113,7 +113,10 @@ if __name__ == '__main__':
# initialize
g = Global()
while not g.selfcheck(): time.sleep(5000)
#NOTE: MUST EXIT HERE!! while not g.selfcheck(): time.sleep()
#Causes pypo to hang on system boot!!!
if not g.selfcheck():
sys.exit()
logger = logging.getLogger()