Specify library version prior to import
- web activities caused two warnings every time they were started, - warnings cost disk write wait time.
This commit is contained in:
parent
d557234d8e
commit
2c3d1d0707
@ -19,6 +19,10 @@ import json
|
|||||||
import os
|
import os
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
import gi
|
||||||
|
gi.require_version('Gtk', '3.0')
|
||||||
|
gi.require_version('WebKit2', '4.0')
|
||||||
|
|
||||||
from gi.repository import Gdk
|
from gi.repository import Gdk
|
||||||
from gi.repository import Gio
|
from gi.repository import Gio
|
||||||
from gi.repository import WebKit2
|
from gi.repository import WebKit2
|
||||||
|
Loading…
Reference in New Issue
Block a user