Skip to content

Commit

Permalink
Use text property of request rather than decoding the content
Browse files Browse the repository at this point in the history
  • Loading branch information
nanglo123 committed Feb 15, 2024
1 parent ec3732a commit 09a1840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mira/sources/system_dynamics/stella.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def template_model_from_stella_model_url(url) -> TemplateModel:
A MIRA Template Model
"""

xml_str = requests.get(url).content.decode("utf-8")
xml_str = requests.get(url).text
return template_model_stella_model_string(xml_str)


Expand Down

0 comments on commit 09a1840

Please sign in to comment.