def METHOD_NAME(self, result):
    if not result:
        return
    self.window().edit_channel_create_torrent_button.setEnabled(True)
    if 'torrent' in result:
        self.add_torrent_to_channel(result['torrent'])