Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. def cut_subject(subject):
  2. if len(subject) > 30:
  3. subject = '%s...' % (subject[:30].strip())
  4. return subject
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement