Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yuki
gajim-plugins
Commits
cfaa259a
Commit
cfaa259a
authored
Mar 16, 2019
by
Malte L
Committed by
Philipp Hörist
Mar 16, 2019
Browse files
[omemo] Fix loading of style.css with python 3.5
parent
2db6d03f
Changes
1
Hide whitespace changes
Inline
Side-by-side
omemo/plugin.py
View file @
cfaa259a
...
...
@@ -139,7 +139,7 @@ class OmemoPlugin(GajimPlugin):
def
_load_css
():
path
=
Path
(
__file__
).
parent
/
'gtk'
/
'style.css'
try
:
with
open
(
path
,
"r"
)
as
file
:
with
path
.
open
(
"r"
)
as
file
:
css
=
file
.
read
()
except
Exception
as
exc
:
log
.
error
(
'Error loading css: %s'
,
exc
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment