nach jedem feiertag eine leere zeile einfügen.

This commit is contained in:
tastytea 2019-04-20 14:59:02 +02:00
parent dbd03a066b
commit 8b040fa9f7
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ using std::chrono::system_clock;
using std::chrono::hours;
using std::uint_fast16_t;
const string version = "2019-04-18_1";
const string version = "2019-04-20_2";
struct Holiday
{
@ -190,7 +190,7 @@ int main()
current_day.regions.end(), "NATIONAL")
!= current_day.regions.end())
{
output += "Deutschland.\n";
output += "Deutschland.\n\n";
}
else
{
@ -207,7 +207,7 @@ int main()
}
output += decode_state(region);
}
output += ".\n";
output += ".\n\n";
}
}
@ -217,7 +217,7 @@ int main()
Mastodon::Easy::API masto(instance, access_token);
masto.exceptions(true);
Mastodon::Easy::Status status;
status.content(output + "\n#bot");
status.content(output + "#bot");
ret = masto.send_post(status);
if (!ret)
{