From 2073b2aae3440ad51dd9c9bc22277c4a0909f14a Mon Sep 17 00:00:00 2001 From: jowj Date: Thu, 30 Jan 2020 16:07:22 -0600 Subject: [PATCH] Update readme. --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 54c112c..1f35d0a 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,12 @@ arke is a dumb python monitoring client i am currently working on to monitor htt - vars file that points the client at my servers ## TODO -- [ ] Fix loading json from file +- [X] Fix loading json from file - alright see "json loading" heading in this file. -- [ ] Fix state comparison and post to only post the item that has changed since last run -- [ ] update this readme. +- [X] Fix state comparison and post to only post the item that has changed since last run + - i thought I mostly had this fixed but i'm still running into issues. + - requires some additional digging. +- [X] update this readme. ## json loading confused here. in python, a dict is the key/value store that is used to map to json. all my functions return a dict: @@ -75,3 +77,6 @@ json.decoder.JSONDecodeError: Extra data: line 1 column 133 (char 132) ``` this is where I get. loading that file doesn't work. Which seems to suggest that how I'm crafting the json string written to the file with `json.dump` is problematic! But I haven't figured out /why/ ugh. + +### fixed +oh my god i wasn't cleaning up the file after last run so previous run charactes was fucking up the file!!! aaaah!