CSS icon button fix #629 & DB fucntion test

This commit is contained in:
jokob-sk
2024-04-14 09:52:00 +10:00
parent ed983279d5
commit 1779da3be0
6 changed files with 22 additions and 4 deletions

View File

@@ -597,6 +597,13 @@ def cleanDeviceName(str, match_IP):
# String manipulation methods
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# Define the split_string function
def split_string(input_str, delimiter):
# remove any wrapping brackets
input_str = input_str.replace('[','').replace(']','')
return input_str.split(delimiter)
#-------------------------------------------------------------------------------
def bytes_to_string(value):