Further fixes
This commit is contained in:
parent
26b82984a2
commit
b529280160
|
@ -517,7 +517,7 @@ class MySimpleXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):
|
|||
status, addressVersionNumber, streamNumber, toRipe = decodeAddress(
|
||||
toAddress)
|
||||
if status != 'success':
|
||||
logger.warn('API Error 0007: Could not decode address: %s : %s', toAddress, status)
|
||||
logger.warn('API Error 0007: Could not decode address: %s', toAddress + ' : ' + status)
|
||||
|
||||
if status == 'checksumfailed':
|
||||
return 'API Error 0008: Checksum failed for address: ' + toAddress
|
||||
|
@ -533,7 +533,7 @@ class MySimpleXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):
|
|||
status, addressVersionNumber, streamNumber, fromRipe = decodeAddress(
|
||||
fromAddress)
|
||||
if status != 'success':
|
||||
logger.warn('API Error 0007: Could not decode address: %s : %s', fromAddress, status)
|
||||
logger.warn('API Error 0007: Could not decode address: %s', fromAddress + ' : ' + status)
|
||||
|
||||
if status == 'checksumfailed':
|
||||
return 'API Error 0008: Checksum failed for address: ' + fromAddress
|
||||
|
@ -597,7 +597,7 @@ class MySimpleXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):
|
|||
status, addressVersionNumber, streamNumber, fromRipe = decodeAddress(
|
||||
fromAddress)
|
||||
if status != 'success':
|
||||
logger.warn('API Error 0007: Could not decode address: %s : %s', fromAddress, status)
|
||||
logger.warn('API Error 0007: Could not decode address: %s', fromAddress + ' : ' + status)
|
||||
|
||||
if status == 'checksumfailed':
|
||||
return 'API Error 0008: Checksum failed for address: ' + fromAddress
|
||||
|
@ -667,7 +667,7 @@ class MySimpleXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):
|
|||
status, addressVersionNumber, streamNumber, toRipe = decodeAddress(
|
||||
address)
|
||||
if status != 'success':
|
||||
logger.warn('API Error 0007: Could not decode address: %s : %s', address, status)
|
||||
logger.warn('API Error 0007: Could not decode address: %s', address + ' : ' + status)
|
||||
|
||||
if status == 'checksumfailed':
|
||||
return 'API Error 0008: Checksum failed for address: ' + address
|
||||
|
|
Loading…
Reference in New Issue
Block a user