(Apr-28-2017, 09:27 PM)nilamo Wrote: I'm confused then. The issue is that changes aren't getting saved back to the original json file. But you're purposefully not saving changes back to that file.
...so what's the problem?
just replace that code with this once and try running the file again u'll notice what i am exactly trying to tell
with open('database.json', 'w') as f: json.dump(new_list, f, indent=2)