From a4106ad018d0a38a73f0081c62da5fef438771d9 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Sun, 20 Sep 2015 01:01:40 -1000 Subject: [PATCH] Fix misplaced import in main.py This was causing OpenGL.GL to be loaded too early --- src/mcedit2/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcedit2/main.py b/src/mcedit2/main.py index 7b9b7e4..50bd8e2 100644 --- a/src/mcedit2/main.py +++ b/src/mcedit2/main.py @@ -11,7 +11,6 @@ from __future__ import absolute_import, division, print_function, unicode_litera import sys import OpenGL -from mcedit2.dialogs.error_dialog import ErrorDialog, showErrorDialog from mcedit2.util import custom_traceback @@ -196,6 +195,7 @@ def excepthook(exc_type, exc_value, exc_tb): # msg.exec_() # sys.exit(-1) + from mcedit2.dialogs.error_dialog import showErrorDialog showErrorDialog("Unhandled Exception", (exc_type, exc_value, exc_tb), fatal=True)