mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-28 13:20:14 +08:00
Fix Py3 exception in GTK plugin.
This commit is contained in:
1 parent
815e60bf6c
commit
8e763f4e48
1 file changed
+1
-1
@@ -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