From c8e8225395f170051b55329c0d64227a44e05c65 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 10 Aug 2017 18:10:50 +1000 Subject: [PATCH] remove unused bodyClass arg --- aqt/webview.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aqt/webview.py b/aqt/webview.py index 09d438c81..ceacef0d3 100644 --- a/aqt/webview.py +++ b/aqt/webview.py @@ -159,7 +159,7 @@ class AnkiWebView(QWebEngineView): dpi = screen.logicalDpiX() return max(1, dpi / 96.0) - def stdHtml(self, body, css="", bodyClass="", js=["jquery.js"], head=""): + def stdHtml(self, body, css="", js=["jquery.js"], head=""): if isWin: buttonspec = "button { font-size: 12px; font-family:'Segoe UI'; }" fontspec = 'font-size:12px;font-family:"Segoe UI";' @@ -188,13 +188,13 @@ body { zoom: %f; %s } %s -%s""" % ( +%s""" % ( self.title, self.zoomFactor(), fontspec, buttonspec, css, jstxt, - head, bodyClass, body) + head, body) #print(html) self.setHtml(html)