Skip to content

Commit

Permalink
polish changes
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmaxymoo committed Aug 27, 2024
1 parent d4caa18 commit 76546ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bc125py/sdo.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,8 +792,8 @@ def from_dict(self, data) -> None:
self.frequency = data["frequency"]

# Some input flexibility for modulation
raw_modulation = str(data["modulation"]).lower()
raw_modulation = "nfm" if raw_modulation == "fmn" else raw_modulation
raw_modulation = data["modulation"].lower()
raw_modulation = ("nfm" if raw_modulation == "fmn" else raw_modulation)
self.modulation = E_Modulation[raw_modulation]

# We do ctcss later
Expand Down

0 comments on commit 76546ab

Please sign in to comment.