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