cetmix / cetmix-tower

Cetmix Tower
GNU Affero General Public License v3.0
9 stars 5 forks source link

[14.0][FIX] cetmix_tower_server Fix system variables in python commands #92

Closed ivs-cetmix closed 3 weeks ago

ivs-cetmix commented 3 weeks ago

Steps to reproduce

Create a Python type command with a system variable. Eg {{ tower.server.ipv4 }​.

Expected result

Variable is replaced with the server IPv4 address.

Current result

Error: 'str object' has no attribute 'server'

After this update

System variables are rendered correctly in the Python code commands

Additional updates

ivs-cetmix commented 3 weeks ago

/ocabot merge nobump

CetmixGitDrone commented 3 weeks ago

This PR looks fantastic, let's merge it! Prepared branch 14.0-dev-ocabot-merge-pr-92-by-ivs-cetmix-bump-nobump, awaiting test results.

CetmixGitDrone commented 3 weeks ago

Congratulations, your PR was merged at 4e0e6124d10cee31171de38fcb86aca399490010. Thanks a lot for contributing to cetmix. ❤️