This commit is contained in:
olari
2021-06-19 11:54:25 +03:00
parent 195c430797
commit d4067f5dca
2 changed files with 1 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ if not target_page.exists():
parts.append(f'Notifications:\n{notifications_rendered}')
header = '\n\n'.join(parts)
header = '\n\n'.join(parts) + '\n'
target_page.write_text(header)
with open(target_page, 'a') as fp:

View File

@@ -45,7 +45,6 @@ def parse_header(header):
title, *modules = split_into_blocks(header)
for module in modules:
print(module)
name, value = module.split('\n', maxsplit=1)
name = name.lower().removesuffix(':')
result[name] = header_modules[name](value)