diff --git a/README.md b/README.md index 92adf32..6975c6d 100644 --- a/README.md +++ b/README.md @@ -21,4 +21,4 @@ Then move `db.json` to the `data` folder. `python main.py` ### Read `out.json`! -You can see what [its output is in our case](out.json). +You can see what [its output is in our case](data/out.json). diff --git a/out.json b/data/out.json similarity index 100% rename from out.json rename to data/out.json diff --git a/main.py b/main.py index 3449942..a5b1abb 100644 --- a/main.py +++ b/main.py @@ -87,7 +87,7 @@ def main(): new_signals["total_average"] = total_sum/3 # Write dictionary to file - with open('out.json', 'w', encoding='utf-8') as f: + with open('data/out.json', 'w', encoding='utf-8') as f: json.dump(new_signals, f, ensure_ascii=False, indent=4) if __name__ == "__main__":