OXYGENHUB
# 30644f1ecb7b oxygen / fix2.py
442 B · Python · last changed Diffs no longer anchor a block of new lines one line early 1 month ago source blame history raw
7891e21c Andy McCall ↶ 1
with open('/home/andymccall/development/oxygen/docs/xenon_spec.md', 'r') as f:
2
    text = f.read()
3
4
text = text.replace('        "media_type": text\n}\n    ],', '        "media_type": text\n      }\n    ],')
5
text = text.replace('      signer_roles: [ "official-worker" ]\n}\n  ]\n}', '      signer_roles: [ "official-worker" ]\n    }\n  ]\n}')
6
7
with open('/home/andymccall/development/oxygen/docs/xenon_spec.md', 'w') as f:
8
    f.write(text)