Changeset 1364


Ignore:
Timestamp:
02/16/07 17:28:07 (6 years ago)
Author:
mglb1
Message:

force_email is a string, not a boolean

Location:
ccsd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ccsd/private/modules/ccs_rurallink_billing.py

    r1363 r1364  
    168168    send_from = config_get("billing", "email_from", "invoices") 
    169169    send_email = config_getboolean("billing", "email", True) 
    170     force_email = config_getboolean("billing", "force_email", None) 
     170    force_email = config_get("billing", "force_email", None) 
    171171    used_mb = int(customer["used_mb"]) 
    172172    if not send_email: 
  • ccsd/trunk/crcnetd/modules/ccs_billing.py

    r1362 r1364  
    676676    """Emails a copy of the the specified invoice to the customer""" 
    677677    global billing_template_dir 
    678     force_email = config_getboolean("billing", "force_email", None) 
     678    force_email = config_get("billing", "force_email", None) 
    679679 
    680680    # Can't send email if no template available 
Note: See TracChangeset for help on using the changeset viewer.