fix: KeyError due to previous commit

This commit is contained in:
2026-01-15 13:40:21 +01:00
parent ea77ea1904
commit 30026a18bd

View File

@@ -103,11 +103,13 @@ async def main():
meshbook["group"] = args.group
if "device" in meshbook:
del meshbook["device"]
if "devices" in meshbook:
del meshbook["devices"]
elif args.device != "":
meshbook["device"] = args.device
if "group" in meshbook:
del meshbook["group"]
if "groups" in meshbook:
del meshbook["groups"]
'''