Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mpcontribs error message
Browse files Browse the repository at this point in the history
munrojm committed Sep 6, 2022
1 parent aedd2f8 commit f00c427
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mp_api/client/client.py
Original file line number Diff line number Diff line change
@@ -137,7 +137,8 @@ def __init__(
except ImportError:
self.contribs = None
warnings.warn("mpcontribs-client not installed. "
"Install the package o query MPContribs data, or construct pourbaix diagrams.")
"Install the package to query MPContribs data, or construct pourbaix diagrams: "
"'pip install mpcontribs-client'")
except Exception as error:
self.contribs = None
warnings.warn(f"Problem loading MPContribs client: {error}")

0 comments on commit f00c427

Please sign in to comment.