fall back to gtkwebkit 3.0
This commit is contained in:
parent
61fb9307ef
commit
8d3cea2164
1 changed files with 4 additions and 1 deletions
|
@ -5,7 +5,10 @@ import subprocess
|
|||
import webbrowser
|
||||
|
||||
import gi
|
||||
gi.require_version('WebKit2', '4.0')
|
||||
try:
|
||||
gi.require_version('WebKit2', '4.0')
|
||||
except:
|
||||
gi.require_version('WebKit2', '3.0')
|
||||
from gi.repository import WebKit2, Gtk, Gdk
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue