Skip to content

Commit

Permalink
api/internal: make GetSystemInfo not crash on not set default DispVM
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Jun 5, 2017
1 parent b5a4573 commit b08574a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubes/api/internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def getsysteminfo(self):
'type': domain.__class__.__name__,
'dispvm_allowed': getattr(domain, 'dispvm_allowed', False),
'default_dispvm': (str(domain.default_dispvm) if
domain.default_dispvm else None),
getattr(domain, 'default_dispvm', None) else None),
'icon': str(domain.label.icon),
} for domain in self.app.domains
}}
Expand Down

0 comments on commit b08574a

Please sign in to comment.