Close tmp_file when done with it

This commit is contained in:
William Brawner 2022-12-05 11:04:44 -07:00
parent ee5dd2850e
commit 1f6a57d105

View file

@ -134,3 +134,4 @@ for language in languages:
if not exists(src_file):
with open(src_file, 'w') as src:
src.write(language.format_src(str(args.day).zfill(2)))
tmp_file.close()