From 03a514239a4b5f8f04c2904f3afa3d446c094158 Mon Sep 17 00:00:00 2001 From: JCF Date: Mon, 28 Nov 2022 10:20:53 +0000 Subject: [PATCH] Added default config for domain substitution --- twoot.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/twoot.py b/twoot.py index 120d93c..4f1a654 100755 --- a/twoot.py +++ b/twoot.py @@ -445,6 +445,12 @@ def main(argv): # 3. The value provided on the command line # Default options + substitution = { + 'twitter': [], + 'youtube': [], + 'reddit': [], + } + options = { 'upload_videos': False, 'post_reply_to': False, @@ -454,6 +460,7 @@ def main(argv): 'tweet_max_age': float(1), 'tweet_delay': float(0), 'toot_cap': int(0), + 'substitution': substitution, } # Default toml