Skip to content

Commit

Permalink
Removed unnecessary arguments from partial_format Function
Browse files Browse the repository at this point in the history
  • Loading branch information
BazookaMusic committed Mar 13, 2018
1 parent 56165ad commit 4cace92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caster/lib/textformat.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def master_format_text(capitalization, spacing, textnv):
capitalization, spacing = normalize_text_format(capitalization, spacing)
Text(get_formatted_text(capitalization, spacing, str(textnv))).execute()

def partial_format_text(word_limit,capitalization, spacing, textnv):
def partial_format_text(word_limit,textnv):
global _CAPITALIZATION, _SPACING
Text(get_formatted_text(_CAPITALIZATION, _SPACING, " ".join(str(textnv).split(" ")[0:word_limit]))).execute()

Expand Down

0 comments on commit 4cace92

Please sign in to comment.