Ignore:
Timestamp:
14 Aug 2017, 06:20:37 (7 years ago)
Author:
Henrik Bettermann
Message:

Do it right.

Location:
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/applicantsbrowser.py

    r14796 r14798  
    228228    @property
    229229    def action(self):
    230         if HTTPS:
    231             return 'https://' + HOST + '/remita/ecomm/finalize.reg'
    232         return 'http://' + HOST + '/remita/ecomm/finalize.reg'
     230        if self.https:
     231            return 'https://' + self.host + '/remita/ecomm/finalize.reg'
     232        return 'http://' + self.host + '/remita/ecomm/finalize.reg'
    233233
    234234    def init_update(self):
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/studentsbrowser.py

    r14796 r14798  
    236236    @property
    237237    def action(self):
    238         if HTTPS:
    239             return 'https://' + HOST + '/remita/ecomm/finalize.reg'
    240         return 'http://' + HOST + '/remita/ecomm/finalize.reg'
     238        if self.https:
     239            return 'https://' + self.host + '/remita/ecomm/finalize.reg'
     240        return 'http://' + self.host + '/remita/ecomm/finalize.reg'
    241241
    242242    def init_update(self):
Note: See TracChangeset for help on using the changeset viewer.