()
Load serialized data if a record-file exists.
Load serialized data if a record-file exists.
Load serialized data if a record - file exists .
def load():
    """Load serialized data if a record-file exists."""
    global data

    record = build('.cook/record.json')
    if os.path.isfile(record):
        with open(record) as file:
            data = json.load(file)
    else:
        data = {}
def load ( ) : global data record = build ( '.cook/record.json' ) if os . path . isfile ( record ) : with open ( record ) as file : data = json . load ( file ) else : data = { }