baseimage-tutorial-framework/lib/util.py

7 lines
127 B
Python
Raw Normal View History

2017-11-27 17:42:34 +00:00
import json
def parse_anchor_from_message(message):
message_json = json.loads(message)
return message_json['anchor']