Commit a5c2ee141033d17a245f117ac6d5beb1615ae7ce
1 parent
074f8187
Exists in
master
and in
1 other branch
- minor change in log messages
Showing
2 changed files
with
3 additions
and
2 deletions
Show diff stats
BUGS.md
@@ -5,6 +5,7 @@ | @@ -5,6 +5,7 @@ | ||
5 | - 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. | 5 | - 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. |
6 | - periodicamente, cada user faz um post keep-alive. warning nos logs se offline. | 6 | - periodicamente, cada user faz um post keep-alive. warning nos logs se offline. |
7 | - Cada pergunta respondida é logo submetida. | 7 | - Cada pergunta respondida é logo submetida. |
8 | + - submissao faz um post ajax. | ||
8 | 9 | ||
9 | - ctrl-c should ask for confirmation before exiting. | 10 | - ctrl-c should ask for confirmation before exiting. |
10 | - eventos unfocus? | 11 | - eventos unfocus? |
app.py
@@ -63,7 +63,7 @@ class App(object): | @@ -63,7 +63,7 @@ class App(object): | ||
63 | logger.critical(f'Database not usable {self.testfactory["database"]}.') | 63 | logger.critical(f'Database not usable {self.testfactory["database"]}.') |
64 | raise e | 64 | raise e |
65 | else: | 65 | else: |
66 | - logger.info(f'Database has {n} students registered.') | 66 | + logger.info(f'Database {self.testfactory["database"]} has {n} students.') |
67 | 67 | ||
68 | # command line option --allow-all | 68 | # command line option --allow-all |
69 | if conf['allow_all']: | 69 | if conf['allow_all']: |
@@ -290,7 +290,7 @@ class App(object): | @@ -290,7 +290,7 @@ class App(object): | ||
290 | with self.db_session() as s: | 290 | with self.db_session() as s: |
291 | u = s.query(Student).filter(Student.id == uid).update({'password': ''}) | 291 | u = s.query(Student).filter(Student.id == uid).update({'password': ''}) |
292 | s.commit() | 292 | s.commit() |
293 | - logger.info(f'Student {uid}: password reset to ""') | 293 | + logger.info(f'Student {uid}: password reset') |
294 | 294 | ||
295 | def insert_new_student(self, uid, name): | 295 | def insert_new_student(self, uid, name): |
296 | try: | 296 | try: |