correcting ansys.py

no need to put the `]` on a separate line for a single-item list (why is it a list anyway)?