IsidoreSong commited on
Commit
9609c85
1 Parent(s): 9b303e8

Update src/pyscripts/img_process.py

Browse files
Files changed (1) hide show
  1. src/pyscripts/img_process.py +1 -1
src/pyscripts/img_process.py CHANGED
@@ -226,7 +226,7 @@ def compose_guest_poster(name, name_pinyin, guest_photo, titles):
226
  if name_pinyin == "":
227
  pinyin_list = pinyin(name.text, style=Style.NORMAL)
228
  name_pinyin = ' '.join([item[0] for item in pinyin_list]).title()
229
- name_pinyin, background, next_height = write_text(name_pinyin, font_path_notosans, background, H_PADDING_RATION,next_height+V_PADDING, font_size)
230
 
231
 
232
  next_height += 100
 
226
  if name_pinyin == "":
227
  pinyin_list = pinyin(name.text, style=Style.NORMAL)
228
  name_pinyin = ' '.join([item[0] for item in pinyin_list]).title()
229
+ name_pinyin, background, next_height = write_text(name_pinyin, font_path_notosans, background, H_PADDING_RATION,next_height+V_PADDING, font_size)
230
 
231
 
232
  next_height += 100