Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin committed Apr 8, 2024
1 parent 619ffd0 commit 887f03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/huggingface_hub/hf_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3242,7 +3242,7 @@ def create_repo(
return RepoUrl(f"{self.endpoint}/{repo_id}")
return RepoUrl(f"{self.endpoint}/{repo_type}/{repo_id}")
except HfHubHTTPError:
raise
raise err
else:
raise

Expand Down

0 comments on commit 887f03d

Please sign in to comment.