Return codes of fax.sendfax() hade wrong order in case of capi.call_faxG3() failed. Fixed.
git-svn-id: https://svn.ibp.de/svn/capisuite/trunk/capisuite@420 4ebea2bb-67d4-0310-8558-a5799e421b66
This commit is contained in:
parent
b1e851f619
commit
18485a9269
|
@ -252,7 +252,7 @@ def sendfax(config, user, capi, faxfile,
|
|||
core.log('result from capi.call_faxG3: %s' % result, 2)
|
||||
if result:
|
||||
# an errror occured
|
||||
return 0, result # todo: maybe use another physical reason?
|
||||
return result, 0
|
||||
call.fax_send(faxfile)
|
||||
return call.disconnect()
|
||||
except core.CallGoneError:
|
||||
|
|
Loading…
Reference in New Issue