mirror of
https://github.com/DaanSelen/meshbook.git
synced 2026-02-20 00:12:10 +00:00
fix: KeyError due to previous commit
This commit is contained in:
10
meshbook.py
10
meshbook.py
@@ -102,13 +102,15 @@ async def main():
|
|||||||
if args.group != "":
|
if args.group != "":
|
||||||
meshbook["group"] = args.group
|
meshbook["group"] = args.group
|
||||||
if "device" in meshbook:
|
if "device" in meshbook:
|
||||||
del meshbook["device"]
|
del meshbook["device"]
|
||||||
del meshbook["devices"]
|
if "devices" in meshbook:
|
||||||
|
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"]
|
||||||
del meshbook["groups"]
|
if "groups" in meshbook:
|
||||||
|
del meshbook["groups"]
|
||||||
|
|
||||||
'''
|
'''
|
||||||
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user