mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-10-26 10:51:49 -04:00
Fixed missing none check in interface discovery sanitizer thanks to PAzter1101
This commit is contained in:
parent
64ebdd0ee3
commit
c86b9c9703
1 changed files with 1 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ class InterfaceAnnouncer():
|
|||
RNS.trace_exception(e)
|
||||
|
||||
def sanitize(self, in_str):
|
||||
if in_str == None: return None
|
||||
sanitized = in_str.replace("\n", "")
|
||||
sanitized = sanitized.replace("\r", "")
|
||||
sanitized = sanitized.strip()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue