From 50bf9b8571a6c55b1c6f0430ee3d3d8f6a27a36e Mon Sep 17 00:00:00 2001 From: Aarno Aukia Date: Wed, 22 Dec 2021 14:38:51 +0100 Subject: [PATCH] remove unused dependency --- debug.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/debug.py b/debug.py index a6ed460..f9419ee 100644 --- a/debug.py +++ b/debug.py @@ -7,7 +7,6 @@ import logging from controlmyspa import ControlMySpa -import json import pprint PARSER = argparse.ArgumentParser(description="Get metrics from Balboa Controlmyspa") @@ -34,11 +33,11 @@ info = API._info # remove potentially sensitive information -del(info['owner']) -del(info['p2pAPSSID']) -del(info['serialNumber']) -del(info['_id']) -del(info['_links']) +del info["owner"] +del info["p2pAPSSID"] +del info["serialNumber"] +del info["_id"] +del info["_links"] # print remaining data pprint.pprint(API._info)