really ignore GTK warnings under windows
This commit is contained in:
parent
163b680200
commit
e341548d25
|
@ -145,6 +145,10 @@ except Warning, msg:
|
||||||
sys.exit()
|
sys.exit()
|
||||||
warnings.resetwarnings()
|
warnings.resetwarnings()
|
||||||
|
|
||||||
|
if os.name == 'nt':
|
||||||
|
import warnings
|
||||||
|
warnings.filterwarnings(action='ignore')
|
||||||
|
|
||||||
pritext = ''
|
pritext = ''
|
||||||
|
|
||||||
from common import exceptions
|
from common import exceptions
|
||||||
|
|
Loading…
Reference in New Issue