def on_input_descrition(self, desc):
        post_url = base_url % "gists"
        data = {
            "description": desc,
            "public": self.public,
            "files": {
                self.fileName : {
                    "content": self.selection
                }
            }
        }

        api = GistApi(self.settings["token"])
        thread = threading.Thread(target=api.post, args=(post_url, data, ))
        thread.start()
        ThreadProgress(api, thread, self.fileName % 'Creating Gist %s', 
            callback.create_gist, _callback_options={
                "fileName": self.fileName,
                "content": self.selection
            }
        )
dataset/ETHPy150Open xjsender/HaoGist/main.py/CreateGist.on_input_descrition/swapped operands of `%`