summaryrefslogtreecommitdiff
path: root/kvmd/kvmd/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/kvmd/__init__.py')
-rw-r--r--kvmd/kvmd/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/kvmd/kvmd/__init__.py b/kvmd/kvmd/__init__.py
index 3633c479..7dfa1349 100644
--- a/kvmd/kvmd/__init__.py
+++ b/kvmd/kvmd/__init__.py
@@ -41,9 +41,10 @@ def main() -> None:
)
streamer = Streamer(
- cap_power=int(config["streamer"]["pinout"]["cap"]),
- conv_power=int(config["streamer"]["pinout"]["conv"]),
+ cap_power=int(config["streamer"]["pinout"].get("cap", -1)),
+ conv_power=int(config["streamer"]["pinout"].get("conv", -1)),
sync_delay=float(config["streamer"]["sync_delay"]),
+ init_delay=float(config["streamer"]["init_delay"]),
width=int(config["streamer"]["size"]["width"]),
height=int(config["streamer"]["size"]["height"]),
cmd=list(map(str, config["streamer"]["cmd"])),