diff --git a/scripts/views.py b/scripts/views.py index b5e6f28..2beab93 100755 --- a/scripts/views.py +++ b/scripts/views.py @@ -81,7 +81,8 @@ def bom_to_assemblies(bom_dir, bounds_map): def eop(print_mode, doc_file, last = False, first = False): if print_mode: - print('\n
', file = doc_file) + if not last: + print('\n
', file = doc_file) else: if not first: print('[Top](#TOP)', file = doc_file)