Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/predbat/predbat.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import pytz
import asyncio

THIS_VERSION = "v8.40.15"
THIS_VERSION = "v8.40.16"

from download import predbat_update_move, predbat_update_download, check_install, DEFAULT_PREDBAT_REPOSITORY
from const import MINUTE_WATT
Expand Down
2 changes: 1 addition & 1 deletion apps/predbat/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -3380,7 +3380,7 @@ async def html_apps(self, request):
for arg in args:
value = args[arg]
raw_value = self.resolve_value_raw(arg, value)
if ("_key" in arg) or ("_password" in arg) or ("_secret" in arg) or ("_pem" in arg):
if isinstance(arg, str) and (("_key" in arg) or ("_password" in arg) or ("_secret" in arg) or ("_pem" in arg)):
value = '<span title = "{}"> (hidden)</span>'.format(value)
Comment on lines 3380 to 3384
arg_errors = self.base.arg_errors.get(arg, "")

Expand Down
Loading