fix
This commit is contained in:
parent
9b40301a23
commit
a34d62e256
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ class UPnP:
|
|||
except (UPnPError, NotImplementedError):
|
||||
print("failed to add and remove a mapping")
|
||||
|
||||
if self.gateway._device:
|
||||
if self.gateway.devices:
|
||||
device = list(self.gateway.devices.values())[0]
|
||||
assert device.manufacturer and device.modelName
|
||||
device_path = os.path.join(os.getcwd(), self.gateway.manufacturer_string)
|
||||
|
|
Loading…
Reference in a new issue