From 725794770025b9afcd8fc500fc9ae06ced8ac923 Mon Sep 17 00:00:00 2001
From: Jack Robison <jackrobison@lbry.io>
Date: Wed, 10 Oct 2018 12:59:56 -0400
Subject: [PATCH] scpd path

---
 aioupnp/gateway.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/aioupnp/gateway.py b/aioupnp/gateway.py
index b2d00eb..a18adfa 100644
--- a/aioupnp/gateway.py
+++ b/aioupnp/gateway.py
@@ -155,8 +155,7 @@ class Gateway:
     async def register_commands(self, service: Service, soap_socket: socket.socket = None):
         if not service.SCPDURL:
             raise UPnPError("no scpd url")
-        service_dict = await scpd_get(("" if service.SCPDURL.startswith("/") else "/") + service.SCPDURL,
-                                      self.base_ip.decode(), self.port)
+        service_dict = await scpd_get(service.SCPDURL, self.base_ip.decode(), self.port)
         if not service_dict:
             return