Fix sports cards not inhibited when exactly one month away
This commit is contained in:
@ -60,6 +60,8 @@
|
||||
|
||||
{% macro sports_inhibit(team) %}
|
||||
{% if state_attr(team,'kickoff_in') %}
|
||||
{{ ('months' or 'weeks') in state_attr(team,'kickoff_in') }}
|
||||
{{ 'months' in state_attr(team,'kickoff_in') or
|
||||
'month' in state_attr(team,'kickoff_in') or
|
||||
'weeks' in state_attr(team,'kickoff_in') }}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
Reference in New Issue
Block a user