Skip to content

Commit

Permalink
fix: does not require port (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiniuYu committed May 31, 2022
1 parent b523c62 commit 751cf9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/ambv/black
rev: 20.8b1
rev: 22.3.0
hooks:
- id: black
types: [python]
Expand Down
2 changes: 0 additions & 2 deletions client/clip_client/client.py
Expand Up @@ -34,8 +34,6 @@ def __init__(self, server: str):
r = urlparse(server)
_port = r.port
_scheme = r.scheme
if not _port:
raise
if not _scheme:
raise
except:
Expand Down

0 comments on commit 751cf9d

Please sign in to comment.