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:
@@ -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"]
|
||||
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user