def authorization_url(self, token=None):
        if token is None:
            # OAuth 2.0
            params = dict(
                client_id=self.key,
                redirect_uri=self.callback_url,
            )
            scope = self.provider_scope
            if scope is not None:
                params["scope"] = ",".join(scope)
            return self.authorize_url + urllib.urlencode(params) % "?%s"
        else:
            request = oauth.Request.from_consumer_and_token(
                self.consumer,
                token=token,
                http_url=self.authorize_url,
            )
            request.sign_request(self.signature_method, self.consumer, token)
            return request.to_url()
dataset/ETHPy150Open eldarion/django-oauth-access/oauth_access/access.py/OAuthAccess.authorization_url/swapped operands of `%`