Fix some syntax errors in glviewer Python code
Merge branch 'glviewer-fixes'

* glviewer-fixes:
  Fix some syntax errors in glviewer Python code