Compare commits
2 commits
25f9651eaa
...
d0a08c9880
Author | SHA1 | Date | |
---|---|---|---|
d0a08c9880 | |||
3f867429e6 |
2 changed files with 6 additions and 1 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -5,6 +5,11 @@ config.yml
|
||||||
posts/
|
posts/
|
||||||
sentences/
|
sentences/
|
||||||
|
|
||||||
|
# Apple
|
||||||
|
.DS_Store
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
|
||||||
# ---> Python
|
# ---> Python
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
|
2
main.py
2
main.py
|
@ -64,7 +64,7 @@ def mastodon_post(text, text_hash, entry, audio_file_path):
|
||||||
if cfg["mastodon"]["post"]["text"]:
|
if cfg["mastodon"]["post"]["text"]:
|
||||||
status += text
|
status += text
|
||||||
if cfg["mastodon"]["post"]["date"]:
|
if cfg["mastodon"]["post"]["date"]:
|
||||||
status += " – " + entry.pubdate
|
status += " – " + entry.published
|
||||||
if cfg["mastodon"]["post"]["link"]:
|
if cfg["mastodon"]["post"]["link"]:
|
||||||
status += " – Quelle: " + entry.link
|
status += " – Quelle: " + entry.link
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue