From f62a26eb33190390c46c277690aebd516d414630 Mon Sep 17 00:00:00 2001 From: octospacc Date: Thu, 28 Jul 2022 23:33:13 +0200 Subject: [PATCH] Fix global menu --- Source/Build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Build.py b/Source/Build.py index 4496b7e..59c283a 100755 --- a/Source/Build.py +++ b/Source/Build.py @@ -63,7 +63,7 @@ def GetConfMenu(Entries, MarkdownExts): Menu += [[]] for i in Entries: e = Entries[i] - if not ((e.startswith('<') or e.startswith('[') or e.startswith('- ')) and (e.endswith('>') or e.endswith(')') or e.endswith(' }'))): + if not ((e.startswith('<') or e.startswith('[') or e.startswith('- ')) and (e.endswith('>') or e.endswith(')') or e.endswith('}'))): if not e.lower().endswith('.html'): e += '.html' Menu[int(i)] = e