We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecada24 commit 746d3cfCopy full SHA for 746d3cf
create_requirement_images.py
@@ -43,9 +43,9 @@
43
f.close()
44
45
46
-def asset_path(x):
+def asset_path(asset_name):
47
"""Return the location of a file shipped with the screenshot maker"""
48
- return os.path.join(os.path.dirname(__file__), x)
+ return os.path.join(os.path.dirname(__file__), asset_name)
49
50
51
font = ImageFont.truetype(asset_path("Roboto-Regular.ttf"), 24)
0 commit comments