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 committed Aug 15, 2024
1 parent fcd5569 commit 3111f61
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 3111f61

Please sign in to comment.