CrAgr: when transferring money, the reason was not optional as expected. (closes #696)
This commit is contained in:
parent
573521523d
commit
13aa381335
1 changed files with 2 additions and 1 deletions
|
|
@ -161,7 +161,8 @@ class Cragr(BaseBrowser):
|
|||
self['numCompteBeneficiaire'] = ['%s' % self.dict_find_value(target_accounts, to)]
|
||||
self['montantPartieEntiere'] = '%s' % amount_euros
|
||||
self['montantPartieDecimale'] = '%02d' % amount_cents
|
||||
self['libelle'] = reason
|
||||
if reason != None:
|
||||
self['libelle'] = reason
|
||||
self.submit()
|
||||
|
||||
# look for known errors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue