Skip to content

Commit

Permalink
remove h5serv check
Browse files Browse the repository at this point in the history
  • Loading branch information
jreadey committed Jul 15, 2024
1 parent 7432387 commit a079570
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions h5pyd/_hl/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,7 @@ def __init__(
raise IOError(400, "relative paths are not valid")

if endpoint is None:
if "H5SERV_ENDPOINT" in os.environ:
endpoint = os.environ["H5SERV_ENDPOINT"]
elif "hs_endpoint" in cfg:
if "hs_endpoint" in cfg:
endpoint = cfg["hs_endpoint"]

# remove the trailing slash on endpoint if it exists
Expand Down

0 comments on commit a079570

Please sign in to comment.