From 028ac1795eb43348bdc90e99335b26359441fcd5 Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Sun, 3 Sep 2023 20:14:07 +0200 Subject: [PATCH] Remove redundant open modes --- scripts/boxes_proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/boxes_proxy.py b/scripts/boxes_proxy.py index 71b4f6c15..65b067757 100644 --- a/scripts/boxes_proxy.py +++ b/scripts/boxes_proxy.py @@ -55,7 +55,7 @@ def generate(self): # check output existence try: - stream = open(box_file, 'r') + stream = open(box_file) except FileNotFoundError as e: inkex.utils.debug("There was no " + box_file + " output generated. Cannot continue. Command was:") inkex.utils.debug(str(cmd))