Use textwrap.shorten for tweets that are too long
BrianMitchL opened this issue · comments
Brian Mitchell commented
textwrap.shorten would be a great function to auto-truncate a tweet that is too long.
This wasn't added to the standard library until python 3.4, so this will require a breaking change.
Brian Mitchell commented
This change would belong somewhere around https://github.com/BrianMitchL/weatherBot/blob/development/weatherBot.py#L231