We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98cb685 commit 47e03d0Copy full SHA for 47e03d0
demosys/view/controller.py
@@ -22,7 +22,8 @@ def run(manager=None):
22
23
:param manager: The effect manager to use
24
"""
25
- window_cls_name = getattr(settings.WINDOW, 'class', 'demosys.context.glfw.GLFW_Window')
+ window_cls_name = settings.WINDOW.get('class', 'demosys.context.glfw.GLFW_Window')
26
+ print("window class", window_cls_name)
27
window_cls = module_loading.import_string(window_cls_name)
28
window = window_cls()
29
0 commit comments