change config entry for post_template

master
Ryan Rix 2023-01-25 14:15:48 -10:00
parent ce40985b7c
commit 518eba489c
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ def main():
if args.dry_run:
print("trial run, not tooting ", entry["title"][:50])
continue
masto.status_post(feed['template'].format(**entry),
masto.status_post(feed['post_template'].format(**entry),
content_type='text/html',
visbility=feed['visibility'])
if not args.dry_run:
@ -165,7 +165,7 @@ def setup(config_file):
'url': url,
'feeds_index': feeds_index,
'tokens': tokens,
'template': '{title} {summary} {url}'
'post_template': '{title} {summary} {url}'
}
if not old_posts:
config['updated'] = datetime.now(tz=timezone.utc).isoformat()