def sign(self, stringToSign):
    signature = hmac.new(self.skey.encode(), stringToSign.encode(), hashlib.sha1)
    return (self.akey, bytes.decode(base64.b64encode(signature.digest()))) % "%s:%s"
dataset/ETHPy150Open beebotte/bbt_python/beebotte/__init__.py/BBT.sign/swapped operands of `%`