Skip to content

Commit

Permalink
added option plusminus_icon_size for biowetter #67
Browse files Browse the repository at this point in the history
  • Loading branch information
roe-dl committed Jul 29, 2024
1 parent 360a5ff commit 78aa6fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/user/weatherserviceshealth.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,9 @@ def __init__(self, name, conf_dict, archive_interval):
self.show_placemark = weeutil.weeutil.to_bool(
conf_dict.get('show_placemark',True)
)
self.plusminus_icon_size = weeutil.weeutil.to_int(
conf_dict.get('plusminus_icon_size',20)
)
# orientation of the HTML table
orientation = conf_dict.get('orientation','h,v')
if not isinstance(orientation,list):
Expand Down Expand Up @@ -615,7 +618,7 @@ def write_html(self, tabtimespans, area_name, last_update, now):
else:
col = ''
if self.model=='biowetter':
effect = symbol(effect,20)
effect = symbol(effect,self.plusminus_icon_size)
if self.model=='pollen':
s += '<span class="hidden-xs">'
if col:
Expand Down

0 comments on commit 78aa6fd

Please sign in to comment.