corrected error in quarantine-day-counter

This commit is contained in:
Mark McIntyre 2021-03-12 10:45:52 -05:00
parent 05e86eb369
commit ced1c127de

View File

@ -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)}"