Commit d8b76b4 1 parent d29ff38 commit d8b76b4 Copy full SHA for d8b76b4
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ def __apply_config(self):
311
311
stopbits
312
312
)
313
313
314
- if "outgoing" in c and c [ "outgoing" ]. lower ( ) == "true" :
314
+ if "outgoing" in c and c . as_bool ( "outgoing" ) == True :
315
315
interface .OUT = True
316
316
else :
317
317
interface .OUT = False
@@ -352,7 +352,7 @@ def __apply_config(self):
352
352
beacon_data
353
353
)
354
354
355
- if "outgoing" in c and c [ "outgoing" ]. lower ( ) == "true" :
355
+ if "outgoing" in c and c . as_bool ( "outgoing" ) == True :
356
356
interface .OUT = True
357
357
else :
358
358
interface .OUT = False
@@ -394,7 +394,7 @@ def __apply_config(self):
394
394
flow_control
395
395
)
396
396
397
- if "outgoing" in c and c [ "outgoing" ]. lower ( ) == "true" :
397
+ if "outgoing" in c and c . as_bool ( "outgoing" ) == True :
398
398
interface .OUT = True
399
399
else :
400
400
interface .OUT = False
@@ -430,7 +430,7 @@ def __apply_config(self):
430
430
id_callsign = id_callsign
431
431
)
432
432
433
- if "outgoing" in c and c [ "outgoing" ]. lower ( ) == "true" :
433
+ if "outgoing" in c and c . as_bool ( "outgoing" ) == True :
434
434
interface .OUT = True
435
435
else :
436
436
interface .OUT = False
You can’t perform that action at this time.
0 commit comments