Skip to content

Commit

Permalink
try to fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ehinman committed Sep 17, 2024
1 parent 6723b5e commit c2b4d12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dataretrieval/wqp.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def get_results(
if "dataProfile" in kwargs:
if kwargs["dataProfile"] not in result_profiles_legacy:
raise TypeError(
f"dataProfile '{kwargs["dataProfile"]}' is not a legacy profile.",
f"dataProfile {kwargs["dataProfile"]} is not a legacy profile.",
f"Valid options are {result_profiles_legacy}.",
)

Expand All @@ -139,7 +139,7 @@ def get_results(
if 'dataProfile' in kwargs:
if kwargs['dataProfile'] not in result_profiles_wqx3:
raise TypeError(
f"dataProfile '{kwargs["dataProfile"]}' is not a valid WQX3.0"
f"dataProfile {kwargs["dataProfile"]} is not a valid WQX3.0"
f"profile. Valid options are {result_profiles_wqx3}.",
)
else:
Expand Down

0 comments on commit c2b4d12

Please sign in to comment.