check there are selected fields
This commit is contained in:
parent
14f8e8e816
commit
ddd0e22d6b
1 changed files with 2 additions and 1 deletions
|
|
@ -264,5 +264,6 @@ class ConsoleApplication(BaseApplication):
|
|||
logging.error(e)
|
||||
|
||||
def do(self, function, *args, **kwargs):
|
||||
kwargs['required_fields'] = set(self.selected_fields) - set('*')
|
||||
if self.selected_fields:
|
||||
kwargs['required_fields'] = set(self.selected_fields) - set('*')
|
||||
return self.weboob.do(function, *args, **kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue