Skip to content

Commit f42e75c

Browse files
committed
Possibly https
1 parent c478f6f commit f42e75c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎language_tool/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class LanguageTool:
176176
_port = _MIN_PORT
177177
_server = None
178178
_instances = WeakValueDictionary()
179-
_PORT_RE = re.compile(r"(?:http://.*:|port\s+)(\d+)", re.I)
179+
_PORT_RE = re.compile(r"(?:https?://.*:|port\s+)(\d+)", re.I)
180180

181181
def __init__(self, language=None, motherTongue=None):
182182
if not self._server_is_alive():

0 commit comments

Comments
 (0)