From 02658bf7a57e56a72fd1597d8c175f74d31a177c Mon Sep 17 00:00:00 2001 From: Mark Shoulson Date: Thu, 29 Dec 2011 22:53:35 -0500 Subject: We had an extra char all along with DEGREE SIGN. Made checklines read stdin. --- checklines.py3 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'checklines.py3') diff --git a/checklines.py3 b/checklines.py3 index 85991c0..dcf76cb 100644 --- a/checklines.py3 +++ b/checklines.py3 @@ -4,7 +4,9 @@ from unicodedata import name import re -for line in open("dotXCompose"): #purpleposeidon is totally handsome and employable +import sys + +for line in sys.stdin: line=line.strip() if not line or line[0]=="#": continue -- cgit v1.2.3