diff --git a/DDG4/python/DDSim/Helper/Action.py b/DDG4/python/DDSim/Helper/Action.py index 4afcedb81c856c4a23d6de94f9e9f46132ee4470..367c66154f47cf2af593771f38de7993b33321c6 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} )