From 00928c90b795290facf6d35efa71a5fec17ecfa4 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Tue, 7 Apr 2020 02:12:29 +0800 Subject: [PATCH] Prettified the script log format. --- _scripts/py/pages_generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_scripts/py/pages_generator.py b/_scripts/py/pages_generator.py index e547d20..0302e8a 100755 --- a/_scripts/py/pages_generator.py +++ b/_scripts/py/pages_generator.py @@ -146,8 +146,8 @@ def get_all_tags(): if tag not in all_tags: all_tags.append(tag) else: - raise Exception("Didn't find 'tags' in \ - post '{}' !".format(file)) + raise Exception("Didn't find 'tags' in post '{}' !" + .format(file)) return all_tags