Skip to content

Commit

Permalink
Ticket 383 - Tiny update due to typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
namsonx committed Nov 15, 2024
1 parent ea28e95 commit 855d7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JsonPreprocessor/CJsonPreprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ def __handleList(lInput : list, bNested : bool) -> list:
if '${' not in v and CNameMangling.DYNAMICIMPORTED.value in v:
dynamicImported = re.search(rf'^(.*){CNameMangling.DYNAMICIMPORTED.value}(.*)$', v)
if re.match(r'^[\d\.]+$', dynamicImported[2]) or \
re.search(r'(\[[^\[]+\])|(\([^\(]+\))|({[^{]+})'):
re.search(r'(\[[^\[]+\])|(\([^\(]+\))|({[^{]+})', dynamicImported[2]):
errorMsg = f"The value of [import] parameter must be 'str' but receiving the value '{dynamicImported[2]}'"
self.__reset()
raise Exception(errorMsg)
Expand Down

0 comments on commit 855d7cb

Please sign in to comment.