Fix Py3 exception in GTK plugin.

This commit is contained in:
Stefan van der Walt
2013-10-17 13:44:19 +02:00
parent 815e60bf6c
commit 8e763f4e48
+1 -1
View File
@@ -5,7 +5,7 @@ try:
# or else the gui import might trample another
# gui's pyos_inputhook.
window_manager.acquire('gtk')
except GuiLockError, gle:
except GuiLockError as gle:
print(gle)
else:
try: