[py] Print newlines differently
This commit is contained in:
parent
cbe75f368c
commit
ee81b1165d
1 changed files with 1 additions and 5 deletions
|
|
@ -17,12 +17,7 @@ def main():
|
|||
parser.add_argument("files", type=Path, nargs="+")
|
||||
args = parser.parse_args()
|
||||
|
||||
first_day = True
|
||||
for file in args.files:
|
||||
if not first_day:
|
||||
print()
|
||||
first_day = False
|
||||
|
||||
day = DAYS.get(file.stem)
|
||||
if day is None:
|
||||
print(f"### Could not determine day: {file}", file=sys.stderr)
|
||||
|
|
@ -32,3 +27,4 @@ def main():
|
|||
with open(file) as f:
|
||||
inputstr = f.read()
|
||||
day(inputstr)
|
||||
print()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue