This commit is contained in:
Florian Bruhin 2017-02-25 17:24:27 +01:00
parent 48c9a4061b
commit 3cc32e0b6a

View File

@ -108,7 +108,12 @@ def get_webelem(geometry=None, frame=None, *, null=False, style=None,
else:
elem.classes.return_value = []
style_dict = {'visibility': '', 'display': '', 'foo': 'bar', 'opacity': '100'}
style_dict = {
'visibility': '',
'display': '',
'foo': 'bar',
'opacity': '100'
}
if style is not None:
style_dict.update(style)