diff options
author | Dennis Eriksen <d@ennis.no> | 2024-10-11 15:14:19 +0200 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2024-10-11 15:14:19 +0200 |
commit | 347f35462ddf8a12efe11ef650e0a6d565d83e78 (patch) | |
tree | f10d32e694707eb74ddfc955bb3ac58220527db9 | |
parent | fix pyproject.toml so project builds, and update deps (diff) | |
download | energyscripts-347f35462ddf8a12efe11ef650e0a6d565d83e78.tar.gz |
-rw-r--r-- | scripts/common/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/common/__init__.py b/scripts/common/__init__.py index e3ea442..c4fe9e7 100644 --- a/scripts/common/__init__.py +++ b/scripts/common/__init__.py @@ -4,8 +4,13 @@ import logging import os import sys +import warnings from datetime import datetime +# Because of https://github.com/urllib3/urllib3/issues/3020 +# Ignore "not using openssl"-error from urllib3. From https://gist.github.com/fire015/f9482919434e57af8bbd0dbc24ecaa9e +warnings.filterwarnings("ignore", module="urllib3") + # Get env var def env(var_name, default=None): |