Accept - as an argument to pipcat
@@ -48,7 +48,7 @@ def cat(out, l):
w.write(out, itercat())
def main(argv):
- return cat(png.binary_stdout(), [open(n, 'rb') for n in argv[1:]])
+ return cat(png.binary_stdout(), [png.cli_open(n) for n in argv[1:]])
if __name__ == '__main__':
main(sys.argv)
