Skip to content

Commit

Permalink
ksun_m6: Remove useless "or"
Browse files Browse the repository at this point in the history
  • Loading branch information
wavexx committed Jun 7, 2024
1 parent 940a6bb commit 7383fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chirp/drivers/ksun_m6.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,6 @@ def set_memory(self, mem):

if "scrambler" in mem.extra:
_mem.scrambler = SCRAMBLER_LIST.index(
mem.extra["scrambler"].value.get_value()) or 0
mem.extra["scrambler"].value.get_value())
else:
_mem.scrambler = 0

0 comments on commit 7383fa6

Please sign in to comment.