From 791cd8213214feb7af77e434ee260e48984086fb Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 13 Apr 2019 14:40:51 +0200 Subject: drawio: A little drawio experiment. --- src/ee/tools/drawio_decompress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ee/tools/drawio_decompress.py b/src/ee/tools/drawio_decompress.py index 27e51af..8949eec 100644 --- a/src/ee/tools/drawio_decompress.py +++ b/src/ee/tools/drawio_decompress.py @@ -21,7 +21,7 @@ try: out_stream = open(args.out, "wr") if args.out else sys.stdout decompress(in_stream, out_stream) -except: +except IOError: if in_stream: in_stream.close() -- cgit v1.2.3