Add automated script for link on readme

This commit is contained in:
iota97 committed 2020-07-06 12:02:10 +02:00
1 parent 11e5f8653b
commit c76a72ba93
1 file changed
+10
Executable
+10
View File
@@ -0,0 +1,10 @@
#!/bin/python
import re
f = open("README.md", "r+")
cont = f.read()
updated = re.sub(r"([^[])#(\d+)", r"\1[#\2](https://github.com/hrydgard/ppsspp/issues/\2)", cont)
f.seek(0)
f.write(updated)
f.truncate()
f.close()