From ebdfe5d524e78ec103a8a7b513cac330c37d5bcf Mon Sep 17 00:00:00 2001 From: ttimo <ttimo@ttimo.net> Date: Tue, 6 Jun 2023 16:45:03 -0500 Subject: [PATCH] silence a spurious warning from the OpenGL module about numpy not being installed (we do not use numpy) --- client/devkit_client/gui2/gui2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/devkit_client/gui2/gui2.py b/client/devkit_client/gui2/gui2.py index e84255f..63346d2 100644 --- a/client/devkit_client/gui2/gui2.py +++ b/client/devkit_client/gui2/gui2.py @@ -30,6 +30,8 @@ if platform.system() == 'Windows': import winreg import signalslot +# silences some warnings about numpy.. +logging.getLogger('OpenGL.plugins').setLevel(logging.ERROR) import OpenGL.GL as gl import sdl2 import imgui -- GitLab