mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-27 11:27:08 +08:00
Merge pull request #792 from stefanv/gtk_py3
Fix Py3 exception in GTK plugin.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user