Skip to content

Commit

Permalink
Fixed unnecessary elif
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckBoss committed Jun 9, 2020
1 parent 36da71f commit 17d27bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JJMumbleBot/lib/helpers/pgui_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def content(text, tt="data", tc='white', tf='Calibri', ta="center"):
if tt == 'data':
content = f'<td align="{ta}">{PGUIHelper.font_mod(text, params=[txt_color, txt_face])}</td>'
return content
elif tt == 'header':
if tt == 'header':
content = f'<th align="{ta}">{PGUIHelper.font_mod(text, params=[txt_color, txt_face])}</th>'
return content
return None
Expand Down

0 comments on commit 17d27bf

Please sign in to comment.