示例#1
0
 def _save_homework(self, widget, homework):
     '''Guarda la tarea domiciliaria'''
     f = FileChooser()
     api.get_homework(self._sftp, self.group, homework, f.file_path,
                      False)
示例#2
0
 def _open_homework(self, widget, homework):
     '''Abre tarea domiciliaria'''
     extension = self._hwlist[homework][-1]
     api.get_homework(self._sftp, self.group, homework, extension,
                      None, True)