From 367059ddef14a495e277f68ceaf3455c092f839d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 11 Apr 2023 12:27:23 +0200 Subject: bandit checker: mark false security issues - fix security issues (low severity) --- ishtar_common/libreoffice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/libreoffice.py') diff --git a/ishtar_common/libreoffice.py b/ishtar_common/libreoffice.py index 482364a73..7dbb36e30 100644 --- a/ishtar_common/libreoffice.py +++ b/ishtar_common/libreoffice.py @@ -202,7 +202,7 @@ class UnoCalc(UnoClient): if k.startswith("get"): try: print(k, getattr(validation, k)()) - except: + except (AttributeError, TypeError): pass def test_image(self): -- cgit v1.2.3