Skip to content

Commit

Permalink
fix typo from PR #1308
Browse files Browse the repository at this point in the history
  • Loading branch information
SanghyunKo authored and andresailer committed Aug 15, 2024
1 parent fcd5569 commit e1017e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DDG4/python/DDSim/Helper/Geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def regexSensitiveDetector(self, val):
for value in val:
self.__checkRegexKeys(value)
self._regexSDDetectorList.append(value)
raise RuntimeError(f"Unsupported type for regexSensitiveDetector: {val!r}")
else:
raise RuntimeError(f"Unsupported type for regexSensitiveDetector: {val!r}")

@staticmethod
def __checkRegexKeys(val):
Expand Down

0 comments on commit e1017e3

Please sign in to comment.