Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
Signed-off-by: GregorTallig <[email protected]>
  • Loading branch information
mgreg89 committed May 22, 2024
1 parent 9f05c18 commit b3a17a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/node-red/scripts/flow_refresh.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ def main():

for module in EXTRA_NODE_MODULES:
if module not in modules_installed:
try
try:
module_name, version = module.rsplit('/', 1)[-1].split('@', 1) if '@' in module else (module, None)
except ValueError:
except:
module_name, version = module, None
payload_node_module = ''
if version is not None:
Expand Down

0 comments on commit b3a17a5

Please sign in to comment.