Skip to content

Commit c335796

Browse files
committed
empty string rather than "None"
1 parent dce0324 commit c335796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/recceiver/cfstore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class CFProperty:
8585

8686
def as_dict(self) -> Dict[str, str]:
8787
"""Convert to dictionary for Channelfinder API."""
88-
return {"name": self.name, "owner": self.owner, "value": str(self.value)}
88+
return {"name": self.name, "owner": self.owner, "value": self.value or ""}
8989

9090
@staticmethod
9191
def from_channelfinder_dict(prop_dict: Dict[str, str]) -> "CFProperty":

0 commit comments

Comments
 (0)