fix invalid argument type

This commit is contained in:
lars 2008-01-14 20:43:39 +00:00
parent 66cf3a013e
commit 6ca9c5d19a
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ class WebInterfaceSites:
## it will get ignored for non-volume plugins
plugin.device = None
if device and self.__set_device(device):
plugin.device = self.cbox.get_container(device)
plugin.device = self.cbox.get_container(device).device
## check the device argument of volume plugins
if "volume" in plugin.plugin_capabilities:
## initialize the dataset of the selected device if necessary