diff --git a/desktop_client.py b/desktop_client.py index c41261d24..24c3bb295 100644 --- a/desktop_client.py +++ b/desktop_client.py @@ -774,8 +774,6 @@ def _read_local_box_post(session, nickname: str, domain: str, _say_command(say_str, say_str2, screenreader, system_language, espeak) print('') - show_vote_posts = False - if post_json_object['type'] == 'Announce': actor = post_json_object['actor'] name_str = get_nickname_from_actor(actor) @@ -783,6 +781,7 @@ def _read_local_box_post(session, nickname: str, domain: str, allow_local_network_access = False yt_replace_domain = None twitter_replacement_domain = None + show_vote_posts = False post_json_object2 = \ download_announce(session, base_dir, http_prefix,