Json – I get a StopIteration error when not finding a value with generator expressions
Well, I have a json file that I load in a variable and if the file doesn't exist, I make a dictionary that will soon become the json file. So good, I'm trying to look for specific elements of this…