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:
htgoebel 2005-01-22 11:29:44 +00:00
parent b1e851f619
commit 18485a9269
1 changed files with 1 additions and 1 deletions

View File

@ -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: