nach jedem feiertag eine leere zeile einfügen.
This commit is contained in:
parent
dbd03a066b
commit
8b040fa9f7
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue