Added more robust code checking (#15)

Co-authored-by: Daan Selen <dselen@systemec.nl>
This commit is contained in:
DaanSelen
2025-08-07 13:56:38 +02:00
committed by GitHub
parent 733136c1ab
commit a736a74af6
+4 -2
View File
@@ -199,10 +199,12 @@ async def main():
if args.group != "": if args.group != "":
meshbook["group"] = args.group meshbook["group"] = args.group
del meshbook["device"] if "device" in meshbook:
del meshbook["device"]
elif args.device != "": elif args.device != "":
meshbook["device"] = args.device meshbook["device"] = args.device
del meshbook["group"] if "group" in meshbook:
del meshbook["group"]
''' '''
The following section mainly displays used variables and first steps of the program to the console. The following section mainly displays used variables and first steps of the program to the console.