Compare commits

..

2 commits

2 changed files with 6 additions and 1 deletions

5
.gitignore vendored
View file

@ -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__/

View file

@ -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