new conf parameter toot_max_len to truncate toot max length

This commit is contained in:
Carl Chenet 2019-12-30 22:11:19 +01:00
parent 9249e00152
commit 86ca0f14b6
4 changed files with 46 additions and 4 deletions

View file

@ -40,6 +40,7 @@ from feed2toot.confparsers.rss.toot import parsetoot
from feed2toot.confparsers.rss.uri import parseuri
from feed2toot.confparsers.rss.urilist import parseurilist
from feed2toot.confparsers.rss.addtags import parseaddtags
from feed2toot.confparsers.rss.tootmaxlen import parsetootmaxlen
class ConfParse:
'''ConfParse class'''
@ -67,6 +68,7 @@ class ConfParse:
# the rss section
###########################
self.tweetformat = parsetoot(config)
options['tootmaxlen'] = parsetootmaxlen(config)
#################################################
# pattern and patter_case_sensitive format option
#################################################