Merge pull request #2288 from carasuca/patch-1

Fix: except `SyntaxError` for py3 viewer
pull/2291/head
Kim Kulling 2018-12-30 22:19:48 +01:00 committed by GitHub
commit 0f6cdc84ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ class PyAssimp3DViewer:
try:
self.set_shaders_v130()
self.prepare_shaders()
except RuntimeError, message:
except RuntimeError as message:
sys.stderr.write("%s\n" % message)
sys.stdout.write("Could not compile shaders in version 1.30, trying version 1.20\n")