Skip to content

Commit 5d7c3b1

Browse files
authored
Merge pull request #940 from argilo/fix-powers-parsing
Remove trailing newline to ensure correct parsing
2 parents 3ec9911 + 11d5e9f commit 5d7c3b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auto_rx/autorx/sdr_wrappers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ def read_ka9q_power_log(log_filename, sdr_name):
536536
continue
537537

538538
# Split line into fields.
539-
fields = line.split(",", 5)
539+
fields = line.rstrip().split(",", 5)
540540

541541
if len(fields) < 5:
542542
logging.error(

0 commit comments

Comments
 (0)