mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-25 04:41:31 +00:00
Create parser for anchor in JSON
This commit is contained in:
parent
9b5bfcf9c8
commit
8d8f55bbe6
6
lib/util.py
Normal file
6
lib/util.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import json
|
||||||
|
|
||||||
|
|
||||||
|
def parse_anchor_from_message(message):
|
||||||
|
message_json = json.loads(message)
|
||||||
|
return message_json['anchor']
|
Loading…
Reference in New Issue
Block a user