Skip to content

Commit

Permalink
Merge pull request #975 from Tontyna/string-set-crash
Browse files Browse the repository at this point in the history
Return appropriate tuple for string-set:none
  • Loading branch information
liZe authored Nov 7, 2019
2 parents cebc1ba + 8861cf6 commit 4677318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weasyprint/css/validation/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -1369,7 +1369,7 @@ def string_set(tokens, base_url):
if None not in parsed_tokens:
return (var_name, parsed_tokens)
elif tokens and get_keyword(tokens[0]) == 'none':
return 'none'
return 'none', ()


@property()
Expand Down

0 comments on commit 4677318

Please sign in to comment.