equinor / omnia-timeseries-python

Official Python SDK for the Omnia Timeseries API
MIT License
6 stars 3 forks source link

Fix version number issue in User Agent string #12

Closed nilsgaeq closed 3 years ago

nilsgaeq commented 3 years ago

Pull Request Template

Description

On some platforms, sys.version contains newline characters. This causes errors with the request library. Use the more machine friendly platform.python_version, as recommended.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Running pytest locally.

Checklist: