def get_hash_obj(file): return hash_maker.get_hash_object(file)
def get_hash_obj(file): hashes = hash_maker.get_hash_object(file) data = {'file': hashes} return json.dumps(data)
def get_hash_obj(file): #objs = json.loads(get_object_details(file)) #decode because data needs to be re-encoded hashes = hash_maker.get_hash_object(file) data = {'file': hashes} return json.dumps(data)
def get_hash_obj(file): hashes = hash_maker.get_hash_object(file) data = { 'file': hashes } return json.dumps(data)
def get_hash_obj(file): #objs = json.loads(get_object_details(file)) #decode because data needs to be re-encoded hashes = hash_maker.get_hash_object(file) data = { 'file': hashes } return json.dumps(data)