mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-08 17:36:35 +08:00
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