From ec75324a90dc83b475906837e7c6604240e7eca6 Mon Sep 17 00:00:00 2001 From: facelessuser Date: Sat, 13 Mar 2021 12:00:09 -0700 Subject: [PATCH] Fix for legacy color matcher --- ExportHtml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExportHtml.py b/ExportHtml.py index e1470c8..2b4d546 100755 --- a/ExportHtml.py +++ b/ExportHtml.py @@ -502,7 +502,7 @@ def guess_style(self, scope, selected=False, no_bold=False, no_italic=False, exp """Guess color.""" if self.legacy: - return self.csm.guess_color(self.view, scope, selected, no_bold, no_italic, explicit_background) + return self.csm.guess_color(scope, selected, no_bold, no_italic, explicit_background) else: # Remove leading '.' to account for old style CSS scope_style = self.view.style_for_scope(scope.lstrip('.'))