Skip to content

Commit

Permalink
fix: placate flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc authored Feb 4, 2024
1 parent 5f4fd1c commit 1c926ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DDG4/python/DDSim/Helper/Action.py
Original file line number Diff line number Diff line change
Expand Up @@ -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} )
Expand Down

0 comments on commit 1c926ae

Please sign in to comment.