corrected error in quarantine-day-counter
This commit is contained in:
parent
05e86eb369
commit
ced1c127de
@ -31,7 +31,7 @@ if __name__ == "__main__":
|
||||
try:
|
||||
start_date_message = f"\nQuarantine Start Date: {color.yellow(quarantine_start_date)}"
|
||||
quarantine_days_message = f"Quarantine Days: {color.red(quarantine_days(quarantine_start_date))}"
|
||||
except ModuleNotFoundError:
|
||||
except NameError:
|
||||
start_date_message = f"\nQuarantine Start Date: {quarantine_start_date}"
|
||||
quarantine_days_message = f"Quarantine Days: {quarantine_days(quarantine_start_date)}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user