mirror of
https://github.com/janishutz/BiogasControllerApp.git
synced 2025-11-25 05:44:23 +00:00
Fix issue with config parsing for filtering of cable
This commit is contained in:
@@ -120,12 +120,12 @@ class BiogasControllerApp(MDApp):
|
|||||||
def build(self):
|
def build(self):
|
||||||
# Configure com
|
# Configure com
|
||||||
filters = [
|
filters = [
|
||||||
x
|
x.strip()
|
||||||
for x in read_config(
|
for x in read_config(
|
||||||
"Connection",
|
"Connection",
|
||||||
"filters",
|
"filters",
|
||||||
"USB-Serial Controller, Prolific USB-Serial Controller",
|
"USB-Serial Controller; Prolific USB-Serial Controller",
|
||||||
).split(",")
|
).split(";")
|
||||||
]
|
]
|
||||||
|
|
||||||
baudrate = int(
|
baudrate = int(
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
port_override = None
|
port_override = None
|
||||||
baudrate = 19200
|
baudrate = 19200
|
||||||
# List the names as which the adapter cable will show up separated by commas below
|
# List the names as which the adapter cable will show up separated by commas below
|
||||||
# For ENATECH, the below is likely correct.
|
# For ENATECH, the below is likely correct. The name cannot contain a semicolon
|
||||||
filters = USB-Serial Controller, Prolific USB-Serial Controller
|
filters = USB-Serial Controller; Prolific USB-Serial Controller
|
||||||
|
|
||||||
[UI]
|
[UI]
|
||||||
height = 600
|
height = 600
|
||||||
|
|||||||
Reference in New Issue
Block a user