comparison libervia/server/server.py @ 1182:5cddb52dacbb

server: fixed typo resuling in crash on unknown registering error status
author Goffi <goffi@goffi.org>
date Tue, 14 May 2019 19:19:40 +0200
parents ef3adc3f2078
children eee7a896cf0e
comparison
equal deleted inserted replaced
1181:ca637ba6f626 1182:5cddb52dacbb
2381 return C.INVALID_CERTIFICATE 2381 return C.INVALID_CERTIFICATE
2382 elif status == "InternalError": 2382 elif status == "InternalError":
2383 return C.INTERNAL_ERROR 2383 return C.INTERNAL_ERROR
2384 else: 2384 else:
2385 log.error( 2385 log.error(
2386 _(u"Unknown registering error status: {status }").format( 2386 _(u"Unknown registering error status: {status}").format(
2387 status=status 2387 status=status
2388 ) 2388 )
2389 ) 2389 )
2390 return status 2390 return status
2391 2391