- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
def _get_list(self, string):
"""
response to list parser, removes CSV list headers
"""
def f(x):
return x != '' and \
x != 'Created,e-Voucher number,Activation code,Currency,Batch,Payer Account,Payee Account,Activated,Amount' and \
x != 'Time,Type,Batch,Currency,Amount,Fee,Payer Account,Payee Account,Payment ID,Memo'
if not string:
return []
rlist = string.split('\n')
return filter(f, rlist)
fuckercoder 30.12.2017 11:35 # 0