fix readme
This commit is contained in:
@@ -55,7 +55,8 @@ The system continuously scans the network for, **New devices**, **New connection
|
|||||||
- DB maintenance, Backup, Restore tools and CSV Export / Import
|
- DB maintenance, Backup, Restore tools and CSV Export / Import
|
||||||
- Help/FAQ Section
|
- Help/FAQ Section
|
||||||
|
|
||||||
| ![Screen 1][screen1] | ![Screen 2][screen2] |
|
| ![Screen 1][screen1] | ![Screen 2][screen2] |
|
||||||
|
|----------------------|----------------------|
|
||||||
| ![Screen 3][screen3] | ![Screen 4][screen4] |
|
| ![Screen 3][screen3] | ![Screen 4][screen4] |
|
||||||
| ![Screen 5][screen5] | ![Screen 6][screen6] |
|
| ![Screen 5][screen5] | ![Screen 6][screen6] |
|
||||||
| ![Report 1][report1] | ![Report 2][report2] |
|
| ![Report 1][report1] | ![Report 2][report2] |
|
||||||
|
|||||||
@@ -32,18 +32,14 @@ def sanitize_string(input):
|
|||||||
NoneType = type(None)
|
NoneType = type(None)
|
||||||
|
|
||||||
def b_to_str(value):
|
def b_to_str(value):
|
||||||
# if value is of type bytes, convert to string
|
# if value is of other type than string, convert to string
|
||||||
if value is None:
|
if value is None:
|
||||||
print("00>>>>> ")
|
|
||||||
return str("")
|
return str("")
|
||||||
elif isinstance(value, type(None)):
|
elif isinstance(value, type(None)):
|
||||||
print("01>>>>> ")
|
|
||||||
return str("")
|
return str("")
|
||||||
elif isinstance(value, NoneType):
|
elif isinstance(value, NoneType):
|
||||||
print("02>>>>> ")
|
|
||||||
return str("")
|
return str("")
|
||||||
elif isinstance(value, str):
|
elif isinstance(value, str):
|
||||||
# print("11>>>>> ",type(value))
|
|
||||||
return str(value+"")
|
return str(value+"")
|
||||||
elif isinstance(value, int):
|
elif isinstance(value, int):
|
||||||
b_to_str(str(value))
|
b_to_str(str(value))
|
||||||
@@ -55,9 +51,8 @@ def b_to_str(value):
|
|||||||
for one in value:
|
for one in value:
|
||||||
b_to_str(one)
|
b_to_str(one)
|
||||||
else:
|
else:
|
||||||
print("21>>>>> ",type(value))
|
|
||||||
return str(value)
|
return str(value)
|
||||||
# return ">>Couldn't determine type<<"
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user