diff --git a/BUGS.md b/BUGS.md index 5f8c72a..3ef68f4 100644 --- a/BUGS.md +++ b/BUGS.md @@ -5,6 +5,7 @@ - botao submeter valida se esta online com um post willing_to_submit, se estiver online, mostra mensagem de confirmacao, caso contrario avisa que nao esta online. - periodicamente, cada user faz um post keep-alive. warning nos logs se offline. - Cada pergunta respondida é logo submetida. + - submissao faz um post ajax. - ctrl-c should ask for confirmation before exiting. - eventos unfocus? diff --git a/app.py b/app.py index e726ed2..a66c256 100644 --- a/app.py +++ b/app.py @@ -63,7 +63,7 @@ class App(object): logger.critical(f'Database not usable {self.testfactory["database"]}.') raise e else: - logger.info(f'Database has {n} students registered.') + logger.info(f'Database {self.testfactory["database"]} has {n} students.') # command line option --allow-all if conf['allow_all']: @@ -290,7 +290,7 @@ class App(object): with self.db_session() as s: u = s.query(Student).filter(Student.id == uid).update({'password': ''}) s.commit() - logger.info(f'Student {uid}: password reset to ""') + logger.info(f'Student {uid}: password reset') def insert_new_student(self, uid, name): try: -- libgit2 0.21.2