Skip to content

Commit

Permalink
pymcnp: fixed compile issues 2
Browse files Browse the repository at this point in the history
  • Loading branch information
BitterB0NG0 committed Feb 17, 2025
1 parent d0847fc commit 539ebee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymcnp/utils/_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def append(self, **additions):
subattributes = attribute.split('.')

for i, _ in enumerate(subattributes[1:]):
addend = eval(f'self.{'.'.join(subattributes[:-1-i])}').append(
addend = eval(f'self.{".".join(subattributes[:-1-i])}').append(
**{subattributes[-1 - i]: addend}
)

Expand Down

0 comments on commit 539ebee

Please sign in to comment.