HOURS_UNTIL_TRASH_PERMANENTLY_DELETED environment variable is not converted to int
Describe the problem
If you set the HOURS_UNTIL_TRASH_PERMANENTLY_DELETED
, the mark_old_trash_for_permanent_deletion
task fails. Related to: https://community.baserow.io/t/int-or-str-hours-until-trash-permanently-deleted/2086/5.
Steps to reproduce
Set the HOURS_UNTIL_TRASH_PERMANENTLY_DELETED
environment variable to anything.
Actual result
It results into a TypeError: unsupported type for timedelta hours component: str
error.
Expected result
It shouldn't fail.