Skip to content

Commit

Permalink
set default offset to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
nimarion committed Sep 20, 2024
1 parent 6ff86d2 commit 6d1644d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bib.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def contains_umlaut(s):
pattern = r'[äöüëïíš]'
return bool(re.search(pattern, s))

def generate_image(txt, header_file, footer_file, font_file, offset_x=0, offset_y=60):
def generate_image(txt, header_file, footer_file, font_file, offset_x=0, offset_y=0):
# A5 size
image = Image.new("RGB", (3508, 2480), "white")
header = Image.open(header_file)
Expand Down

0 comments on commit 6d1644d

Please sign in to comment.