fix: KeyError due to previous commit
This commit is contained in:
@@ -103,11 +103,13 @@ async def main():
|
|||||||
meshbook["group"] = args.group
|
meshbook["group"] = args.group
|
||||||
if "device" in meshbook:
|
if "device" in meshbook:
|
||||||
del meshbook["device"]
|
del meshbook["device"]
|
||||||
|
if "devices" in meshbook:
|
||||||
del meshbook["devices"]
|
del meshbook["devices"]
|
||||||
elif args.device != "":
|
elif args.device != "":
|
||||||
meshbook["device"] = args.device
|
meshbook["device"] = args.device
|
||||||
if "group" in meshbook:
|
if "group" in meshbook:
|
||||||
del meshbook["group"]
|
del meshbook["group"]
|
||||||
|
if "groups" in meshbook:
|
||||||
del meshbook["groups"]
|
del meshbook["groups"]
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|||||||
Reference in New Issue
Block a user