mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
Fix AttributeError: 'NoneType' object has no attribute 'send'
Fix #1014
This commit is contained in:
parent
930e7089db
commit
bda36081a9
@ -103,7 +103,7 @@ class Bridge(Device):
|
|||||||
|
|
||||||
:param nio: NIO instance to remove
|
:param nio: NIO instance to remove
|
||||||
"""
|
"""
|
||||||
|
if self._hypervisor:
|
||||||
yield from self._hypervisor.send('nio_bridge remove_nio "{name}" {nio}'.format(name=self._name, nio=nio))
|
yield from self._hypervisor.send('nio_bridge remove_nio "{name}" {nio}'.format(name=self._name, nio=nio))
|
||||||
self._nios.remove(nio)
|
self._nios.remove(nio)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user