[rs,py] Simplify message for unknown days

This commit is contained in:
Joscha 2022-12-05 08:31:42 +01:00
parent bd2dd9a4f9
commit 995f62b4e3
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ def main():
for file in args.files:
day = DAYS.get(file.stem)
if day is None:
print(f"### Could not determine day: {file}", file=sys.stderr)
print(f"### Can't solve {file}", file=sys.stderr)
continue
print(f"### Solving day {file.stem}")

View file

@ -56,7 +56,7 @@ fn main() -> io::Result<()> {
let day = match Day::from_path(&file) {
Some(day) => day,
None => {
eprintln!("### Could not determine day: {file:?}");
eprintln!("### can't solve {file:?}");
continue;
}
};