Skip to content

Commit

Permalink
MAINT: removed unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
mjmucha committed Jan 15, 2024
1 parent af9c24a commit 5b3fad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basil/utils/USBBinds.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def modify_basil_config(conf, log, skip_binds=[], verbose=False):

instrument = tf["init"]["identification"]
baud_rate = getBaudrate(tf["init"])
read_termination = tf["init"]["read_termination"] if "read_termination" in tf["init"].keys() else "\n"
read_termination = tf["init"]["read_termination"]
write_termination = tf["init"]["write_termination"] if "write_termination" in tf["init"].keys() else "\n"

Check warning on line 145 in basil/utils/USBBinds.py

View check run for this annotation

Codecov / codecov/patch

basil/utils/USBBinds.py#L142-L145

Added lines #L142 - L145 were not covered by tests

instruments.append({

Check warning on line 147 in basil/utils/USBBinds.py

View check run for this annotation

Codecov / codecov/patch

basil/utils/USBBinds.py#L147

Added line #L147 was not covered by tests
Expand Down

0 comments on commit 5b3fad9

Please sign in to comment.