From 2b6ea26ba43775f395e6d7f5f9f85d928896b963 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Sat, 3 Feb 2024 21:06:14 -0600 Subject: [PATCH] fix: placate flake8 --- DDG4/python/DDSim/Helper/Action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DDG4/python/DDSim/Helper/Action.py b/DDG4/python/DDSim/Helper/Action.py index 4afcedb81..367c66154 100644 --- a/DDG4/python/DDSim/Helper/Action.py +++ b/DDG4/python/DDSim/Helper/Action.py @@ -130,7 +130,7 @@ class Action(ConfigHelper): import json try: val = json.loads(val) - except ValueError as e: + except ValueError: val = tuple(val.split(",")) if isinstance(val, tuple): # assumes: ( "Geant4TestEventAction", {"Property_int": 10} ) -- GitLab