Skip to content

Commit

Permalink
Added str cast to parse int (#3486)
Browse files Browse the repository at this point in the history
Co-authored-by: antoniomarangi <[email protected]>
  • Loading branch information
mrmara and antoniomarangi authored Mar 17, 2023
1 parent 26ac810 commit 95dd208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nav2_common/nav2_common/launch/rewritten_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def pathify(self, d, p=None, paths=None, joinchar='.'):
if isinstance(d, dict):
for k in d:
v = d[k]
self.pathify(v, pn + k, paths, joinchar=joinchar)
self.pathify(v, str(pn) + str(k), paths, joinchar=joinchar)
elif isinstance(d, list):
for idx, e in enumerate(d):
self.pathify(e, pn + str(idx), paths, joinchar=joinchar)
Expand Down

0 comments on commit 95dd208

Please sign in to comment.