[rs,py] Simplify message for unknown days
This commit is contained in:
parent
bd2dd9a4f9
commit
995f62b4e3
2 changed files with 2 additions and 2 deletions
|
|
@ -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}")
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue