mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-03-27 16:06:46 +00:00
Added default config for domain substitution
This commit is contained in:
parent
b5262b7b3f
commit
03a514239a
7
twoot.py
7
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user