handle config key not set
This commit is contained in:
parent
9492bbebbb
commit
06d4b24b09
@ -3,7 +3,7 @@ from owrx.form.converter import Converter
|
||||
|
||||
class ReceiverKeysConverter(Converter):
|
||||
def convert_to_form(self, value):
|
||||
return "\n".join(value)
|
||||
return "" if value is None else "\n".join(value)
|
||||
|
||||
def convert_from_form(self, value):
|
||||
# \r\n or \n? this should work with both.
|
||||
|
Loading…
Reference in New Issue
Block a user