mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-04-16 09:37:38 +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
|
# 3. The value provided on the command line
|
||||||
|
|
||||||
# Default options
|
# Default options
|
||||||
|
substitution = {
|
||||||
|
'twitter': [],
|
||||||
|
'youtube': [],
|
||||||
|
'reddit': [],
|
||||||
|
}
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
'upload_videos': False,
|
'upload_videos': False,
|
||||||
'post_reply_to': False,
|
'post_reply_to': False,
|
||||||
@ -454,6 +460,7 @@ def main(argv):
|
|||||||
'tweet_max_age': float(1),
|
'tweet_max_age': float(1),
|
||||||
'tweet_delay': float(0),
|
'tweet_delay': float(0),
|
||||||
'toot_cap': int(0),
|
'toot_cap': int(0),
|
||||||
|
'substitution': substitution,
|
||||||
}
|
}
|
||||||
|
|
||||||
# Default toml
|
# Default toml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user