mirror of
https://github.com/DaanSelen/meshbook.git
synced 2026-02-20 08:22:11 +00:00
Added more robust code checking (#15)
Co-authored-by: Daan Selen <dselen@systemec.nl>
This commit is contained in:
@@ -199,10 +199,12 @@ async def main():
|
||||
|
||||
if args.group != "":
|
||||
meshbook["group"] = args.group
|
||||
del meshbook["device"]
|
||||
if "device" in meshbook:
|
||||
del meshbook["device"]
|
||||
elif 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.
|
||||
|
||||
Reference in New Issue
Block a user