diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index a1cde3402..c25dec8fa 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -1651,6 +1651,9 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco, log.debug('TimeRevisedResultCB') time_info = '' qp = iq_obj.getTag('time') + if not qp: + # wrong answer + return tzo = qp.getTag('tzo').getData() if tzo == 'Z': tzo = '0:0'