new conf parameter toot_max_len to truncate toot max length
This commit is contained in:
parent
9249e00152
commit
86ca0f14b6
4 changed files with 46 additions and 4 deletions
|
@ -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
|
||||
#################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue