Small optimization of previous commit

This commit is contained in:
Cole Robinson 2011-03-09 10:37:51 -05:00
parent 7da8f0a47d
commit 6f2dc72646
1 changed files with 2 additions and 2 deletions

View File

@ -2114,8 +2114,8 @@ class vmmDetails(vmmGObjectUI):
idx = disk.disk_bus_index
cache = disk.driver_cache
driver_type = disk.driver_type or ""
show_format = (disk.path_exists(disk.conn, disk.path) or not
self.is_customize_dialog)
show_format = (not self.is_customize_dialog or
disk.path_exists(disk.conn, disk.path))
size = _("Unknown")
if not path: