Commit 8c805829 authored by Malte L's avatar Malte L Committed by Philipp Hörist
Browse files

[omemo] Fix loading of style.css with python 3.5

parent b61c90f4
......@@ -135,8 +135,8 @@ class OmemoPlugin(GajimPlugin):
def _load_css(self):
path = Path(__file__).parent / 'gtk' / 'style.css'
with open(path, "r") as f:
css =
with"r") as file:
css =
except Exception as exc:
log.error('Error loading css: %s', exc)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment