def wrapped_f(q, *args):
     ''' Calls the decorated function and puts the result in a queue '''
     LOGGER.unregister_xml_logger()
     ret = BuiltIn().run_keyword(keyword, *args)
     q.put(ret)