Commit 81be1066 authored by Boxiang Sun's avatar Boxiang Sun

peertube: test fixup

parent 0c2b290b
...@@ -203,7 +203,7 @@ init = ...@@ -203,7 +203,7 @@ init =
from six.moves.urllib.parse import urlparse from six.moves.urllib.parse import urlparse
url = urlparse(options.get('url')) url = urlparse(options.get('url'))
if url.port: if url.port:
options['host'] = '\'[' + url.hostname + '\']' options['host'] = '[' + url.hostname + ']'
options['port'] = url.port options['port'] = url.port
else: else:
options['host'] = url.hostname options['host'] = url.hostname
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment