mirror of
https://codeberg.org/herrthees/ODW-Abfallkalender-Bot-Demo.git
synced 2025-08-02 00:27:34 +00:00
Fixed: Zeilenumbruch bei Stadtteilen mit nur einer Abfallart
This commit is contained in:
parent
bad0e5aa86
commit
ca4bb11b7e
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ if len(abfallkalender['records']) > 0:
|
|||
ausgabe += ', '.join(abfallart[:-1])+' und '+abfallart[-1]+"\n"
|
||||
# sonst die eine Abfallart anhängen
|
||||
else:
|
||||
ausgabe += abfallart[0]
|
||||
ausgabe += abfallart[0]+"\n"
|
||||
|
||||
# Zufällig einen Einleitungssatz auswählen und der Ausgabe voranstellen.
|
||||
ausgabe = choice(introSaetze)+'\n\n'+ausgabe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue