cast notification timeout to int
This commit is contained in:
parent
0f90062fc3
commit
b80d118872
|
@ -163,7 +163,7 @@ DEFAULT_FROM_EMAIL = os.environ.get('DEFAULT_FROM_EMAIL', 'ne-pas-repondre@orlea
|
|||
|
||||
INVOICES_DIR = os.environ.get('INVOICES_DIR', os.path.dirname(__file__))
|
||||
INVOICES_LOCATION_PATTERN = os.path.join(INVOICES_DIR, 'facture_{invoice_id}.pdf')
|
||||
INVOICES_NOTIFICATION_TIMEOUT = os.environ.get('INVOICES_NOTIFICATION_TIMEOUT', 10) # in days
|
||||
INVOICES_NOTIFICATION_TIMEOUT = int(os.environ.get('INVOICES_NOTIFICATION_TIMEOUT', 10)) # in days
|
||||
|
||||
IDP_URL = os.environ.get('IDP_URL', '')
|
||||
PORTAIL_CITOYEN_URL = os.environ.get('PORTAIL_CITOYEN_URL', '')
|
||||
|
|
Reference in New Issue