mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 08:56:17 +00:00
Handle port in database URI
This commit is contained in:
parent
94624518ed
commit
ef129a042a
@ -559,6 +559,8 @@ def parse_uri(database_uri):
|
||||
|
||||
uri = urlparse(database_uri)
|
||||
args = dict(parse_qsl(uri.query))
|
||||
if uri.port is not None:
|
||||
args["port"] = uri.port
|
||||
|
||||
if uri.scheme == "sqlite":
|
||||
path = uri.path
|
||||
|
Loading…
Reference in New Issue
Block a user