mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 11:10:20 +01:00
muting pygame's hello message (#116)
This commit is contained in:
@@ -18,6 +18,8 @@ import os
|
||||
from collections import OrderedDict
|
||||
from typing import Union
|
||||
|
||||
import contextlib
|
||||
with contextlib.redirect_stdout(None):
|
||||
import pygame
|
||||
from pandas import to_pickle
|
||||
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
#
|
||||
|
||||
import numpy as np
|
||||
import contextlib
|
||||
with contextlib.redirect_stdout(None):
|
||||
import pygame
|
||||
from pygame.locals import HWSURFACE, DOUBLEBUF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user