mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 07:10:42 -08:00
MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be many adjustments necessary
This commit is contained in:
@@ -29,7 +29,7 @@ def get_date_from_user(prompt):
|
||||
print(prompt)
|
||||
date_str = input()
|
||||
try:
|
||||
month_num, day_num, year_num = [int(x) for x in date_str.split(",")]
|
||||
month_num, day_num, year_num = (int(x) for x in date_str.split(","))
|
||||
except Exception as e:
|
||||
print("I COULDN'T UNDERSTAND THAT. TRY AGAIN.")
|
||||
return month_num, day_num, year_num
|
||||
|
||||
Reference in New Issue
Block a user