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 @@ def makeListOfDictFromJSON(val): 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} )