updating colorers

This commit is contained in:
Ville Rantanen
2016-06-03 13:47:08 +03:00
parent 7aa683484a
commit 4b57c0f416
3 changed files with 10 additions and 5 deletions

View File

@@ -96,7 +96,10 @@ Special syntaxes:
bc=bc()
opts=setup_options()
f=open(opts.filename,'r')
if opts.filename=="-":
f=sys.stdin
else:
f=open(opts.filename,'r')
for row in f:
if not row:
continue