From 0c6f6c2da94f0916a5d5974f01b5845d445f0a10 Mon Sep 17 00:00:00 2001 From: Administrator Date: Sat, 7 Oct 2023 14:02:07 +0000 Subject: [PATCH] fix string format --- build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.py b/build.py index 5c9a2b0..951b429 100644 --- a/build.py +++ b/build.py @@ -15,9 +15,9 @@ if __name__ == '__main__': reader = csv.DictReader(file) for row in reader: subst += f'{row['service']}' - f'{row["url"]}' - f'{row["ip"]}' - f'{row["comment"]}' + '{row["url"]}' + '{row["ip"]}' + '{row["comment"]}' logging.info('write file') with open('template/template.html') as inf: