Fix NameError in gpsmap.py
This commit is contained in:
parent
819a53a159
commit
da563514fc
1 changed files with 2 additions and 2 deletions
|
|
@ -564,8 +564,8 @@ def draw_bottom_title(draw, label, stats, date_text=""):
|
||||||
y_date = y_stats - date_h - gap if date_text else None
|
y_date = y_stats - date_h - gap if date_text else None
|
||||||
|
|
||||||
if date_text:
|
if date_text:
|
||||||
draw_centered_text(draw, y_date, date_text, date_font, fill=(40, 40, 40))
|
draw_centered_text(draw, y_stats, date_text, date_font, fill=(40, 40, 40))
|
||||||
draw_centered_text(draw, y_stats, stats, stats_font, fill=(30, 30, 30))
|
# draw_centered_text(draw, y_stats, stats, stats_font, fill=(30, 30, 30))
|
||||||
draw_centered_text(draw, y_title, label, title_font, fill="black")
|
draw_centered_text(draw, y_title, label, title_font, fill="black")
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue