File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 26
26
from .managers import NotificationManager , PullPointManager
27
27
from .settings import DEFAULT_SETTINGS
28
28
from .transport import ASYNC_TRANSPORT
29
- from .util import create_no_verify_ssl_context , path_isfile , utcnow
29
+ from .util import create_no_verify_ssl_context , normalize_url , path_isfile , utcnow
30
30
from .wrappers import retry_connection_error # noqa: F401
31
31
32
32
logger = logging .getLogger ("onvif" )
@@ -473,7 +473,7 @@ async def get_snapshot_uri(self, profile_token: str) -> str:
473
473
req = media_service .create_type ("GetSnapshotUri" )
474
474
req .ProfileToken = profile_token
475
475
result = await media_service .GetSnapshotUri (req )
476
- uri = result .Uri
476
+ uri = normalize_url ( result .Uri )
477
477
self ._snapshot_uris [profile_token ] = uri
478
478
return uri
479
479
You can’t perform that action at this time.
0 commit comments