Ignore the 'could not open display' warning from GTK
This commit is contained in:
parent
262bd98c16
commit
15799a1ccd
@ -2,6 +2,7 @@
|
||||
from distutils.version import StrictVersion as SV
|
||||
# pylint: enable = E0611,F0401
|
||||
import sys
|
||||
import warnings
|
||||
|
||||
import pykka
|
||||
|
||||
@ -17,6 +18,9 @@ if (isinstance(pykka.__version__, basestring)
|
||||
u'Mopidy requires Pykka >= 1.0, < 2, but found %s' % pykka.__version__)
|
||||
|
||||
|
||||
warnings.filterwarnings('ignore', 'could not open display')
|
||||
|
||||
|
||||
__version__ = '0.8.0'
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user