diff --git a/scripts/chores.py b/scripts/chores.py index 865d476..deebe4f 100644 --- a/scripts/chores.py +++ b/scripts/chores.py @@ -18,7 +18,7 @@ except KeyError: ASSIGNEES = os.environ.get("CHORES_ASSIGNEES", "").split() REPO_OWNER = os.environ.get("CHORES_REPO_OWNER", "PrivateCoffee") REPO_NAME = os.environ.get("CHORES_REPO_NAME", "chores") -EXPIRY_DAYS = os.environ.get("CHORES_EXPIRY_DAYS", 2) +EXPIRY_DAYS = int(os.environ.get("CHORES_EXPIRY_DAYS", 2)) CHORES = os.environ.get( "CHORES_TEXT", "Looks like you forgot to set the CHORES_TEXT environment variable." )