Skip to content

Commit

Permalink
Replace one-letter variable
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Jan 25, 2020
1 parent d2278ae commit 5c5e5ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weasyprint/layout/backgrounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ def set_canvas_background(page):
page.canvas_background = chosen_box.background._replace(
# TODO: shouldn’t background-clip be considered here?
layers=[
l._replace(painting_area=painting_area)
for l in chosen_box.background.layers])
layer._replace(painting_area=painting_area)
for layer in chosen_box.background.layers])
chosen_box.background = None
else:
page.canvas_background = None
Expand Down

0 comments on commit 5c5e5ea

Please sign in to comment.