def write_audio(self, data=None, source=None, caption=None, **args):
        if data:
            args['data'] = open(data)
        else:
            args['data'] = urlopen(source).read()

        args['caption'] = caption
        args = self._fixnames(args)

        if not args in 'data':
            raise TumblrError("Must supply data argument")

        self.auth_check()
        args['type'] = 'audio'
        return self._write(args)
dataset/ETHPy150Open ialex/opentumblr-qt/opentumblrqt/tumblr.py/Api.write_audio/swapped operands of `in`