diff options
Diffstat (limited to 'static/src/check-about.py')
-rw-r--r-- | static/src/check-about.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/src/check-about.py b/static/src/check-about.py index e7bf62d..d88078d 100644 --- a/static/src/check-about.py +++ b/static/src/check-about.py @@ -1,6 +1,6 @@ import re -PI = '31415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679' +PI = '31415926535897932384626433832795028841' i = 0 with open('content/about/_index.md') as f: @@ -9,5 +9,5 @@ with open('content/about/_index.md') as f: continue cnt = str(len(re.sub(r']\([^\)]*\)', '', l).split())) if cnt != PI[i:i+len(cnt)]: - print(l, cnt, PI[i]) + print(l, cnt, PI[i:i+2]) i += len(cnt) |