From fa183aa17721e86cd44b4cf9d43917987bc074ca Mon Sep 17 00:00:00 2001 From: romangraef Date: Thu, 6 Dec 2018 17:04:54 +0100 Subject: day5 --- commons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commons.py') diff --git a/commons.py b/commons.py index 2bc58c2..80181ca 100644 --- a/commons.py +++ b/commons.py @@ -22,7 +22,7 @@ def get_input(day: int) -> str: if cache_file.exists(): return cache_file.read_text() text = requests.get('http://adventofcode.com/2018/day/{}/input'.format(day), - cookies=cookies).text + cookies=cookies).text.strip() cache_file.write_text(text) return text -- cgit