mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-27 14:03:57 +03:00
Fix check for whether we've got any existing connections on startup
This commit is contained in:
parent
00b17324be
commit
7c29de8b85
@ -130,7 +130,7 @@ def show_engine(engine, show, uri, uuid):
|
||||
engine.show_console(uri, uuid)
|
||||
elif show=='summary' or uri:
|
||||
engine.connect_to_uri(uri)
|
||||
elif engine.config.get_connections() != None:
|
||||
elif engine.config.get_connections() != None and len(engine.config.get_connections()) > 0:
|
||||
engine.load_stored_uris()
|
||||
else:
|
||||
tryuri = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user