From 3ecbf06956ec80d0df5c8ba262f913bddf2239f3 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Fri, 3 Dec 2021 08:58:27 +0100 Subject: [PATCH] template --- _templates/riddle/new/python.ejs.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_templates/riddle/new/python.ejs.t b/_templates/riddle/new/python.ejs.t index b00d85f..9b3118c 100644 --- a/_templates/riddle/new/python.ejs.t +++ b/_templates/riddle/new/python.ejs.t @@ -5,7 +5,7 @@ to: <%= year %>/<%= day %>/python/main.py from os.path import join, dirname -# Day 01 +# Day <%= day %> # Common @@ -13,7 +13,7 @@ from os.path import join, dirname def read_input(filename): data = join(dirname(__file__), '..', filename) with open(data) as f: - return f.read() + return f.read().strip() # 1