commit a2baea55fb5788bc43b58495ffae4e7aa069cafe from: mischa date: Sun Nov 3 21:37:30 2019 UTC 32s in stead of 32 commit - 875f2ac4ee37b30febab85ab44f41606ec344c2e commit + a2baea55fb5788bc43b58495ffae4e7aa069cafe blob - 0543d79e72f77721425d46cd73886b4c27e0b8db blob + 975bf25c84203801cd58a6175b7b637f54e7574c --- get-lights.py +++ get-lights.py @@ -43,7 +43,7 @@ with urllib.request.urlopen(req, context=no_cert_check json_data = json.loads(content) -print(f"{'ID':>2s}: {'Name':<32} {'State':<5s} Type") +print(f"{'ID':>2s}: {'Name':<32s} {'State':<5s} Type") print ("################################################################################") for key in json_data: if not json_data[key]['state']['reachable']: