Skip to content

Commit 746d3cf

Browse files
committed
better variable name
1 parent ecada24 commit 746d3cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

create_requirement_images.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
f.close()
4444

4545

46-
def asset_path(x):
46+
def asset_path(asset_name):
4747
"""Return the location of a file shipped with the screenshot maker"""
48-
return os.path.join(os.path.dirname(__file__), x)
48+
return os.path.join(os.path.dirname(__file__), asset_name)
4949

5050

5151
font = ImageFont.truetype(asset_path("Roboto-Regular.ttf"), 24)

0 commit comments

Comments
 (0)