From b863d7f004ca6082c0c6a20b6ee333e2b37280f8 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 6 Nov 2023 12:45:14 -0500 Subject: [PATCH] Fix incorrect variable --- custom_templates/status.jinja | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_templates/status.jinja b/custom_templates/status.jinja index 4fcfef7..4c0b474 100644 --- a/custom_templates/status.jinja +++ b/custom_templates/status.jinja @@ -174,7 +174,7 @@ Tony is currently streaming. The current stream category is {{ game }}. The curr {% macro tony_afternoon_meds(type,method) %} {% set streamBlock = twitchStreamInfo(type,method) | trim == '' %} -{% set morningBlock = tony_morning_meds(type,method) | trim != '' %} +{% set morningBlock = tony_morning_meds(type,method) | trim == '' %} {% if type == 'meds' or streamBlock == true or morningBlock == true %} {% set identTony = 'Tony' %} {% else %} @@ -200,8 +200,8 @@ Tony is currently streaming. The current stream category is {{ game }}. The curr {% macro tony_night_meds(type,method) %} {% set streamBlock = twitchStreamInfo(type,method) | trim == '' %} -{% set morningBlock = tony_morning_meds(type,method) | trim != '' %} -{% set afternoonBlock = tony_afternoon_meds(type,method) | trim != '' %} +{% set morningBlock = tony_morning_meds(type,method) | trim == '' %} +{% set afternoonBlock = tony_afternoon_meds(type,method) | trim == '' %} {% if type == 'meds' or streamBlock == true or (morningBlock == true and afternoonBlock == true) %} {% set identTony = 'Tony' %} {% else %}