pass console object to all control handlers

This commit is contained in:
Jimmy Kiselak 2015-11-17 17:28:17 -05:00
parent 6bf6e943cc
commit e4c2585e23

View file

@ -837,7 +837,7 @@ class LBRYFileChooser(RecursiveCommandHandler):
def _get_control_handler_factories(self): def _get_control_handler_factories(self):
control_handler_factories = [] control_handler_factories = []
for lbry_file in self.lbry_file_manager.lbry_files: for lbry_file in self.lbry_file_manager.lbry_files:
control_handler_factories.append(self.factory_class(lbry_file, *self.args)) control_handler_factories.append(self.factory_class(self.console, lbry_file, *self.args))
return control_handler_factories return control_handler_factories