Skip to content

Commit

Permalink
set webkit version to suppress warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aliva committed Mar 4, 2019
1 parent c537527 commit a5d4b62
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion markdownpreview.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
import os
from string import Template

from gi.repository import Gedit, GObject, Gtk, WebKit2, Gio
import gi
from markdown import markdown
from markdown.extensions import Extension
from markdown.treeprocessors import Treeprocessor

gi.require_version('WebKit2', '4.0')

from gi.repository import Gedit, Gio, GObject, Gtk, WebKit2 # isort:skip




class AutoDirection(Treeprocessor):
def run(self, root):
Expand Down

0 comments on commit a5d4b62

Please sign in to comment.