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 | 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 | 6 | - periodicamente, cada user faz um post keep-alive. warning nos logs se offline. |
7 | 7 | - Cada pergunta respondida é logo submetida. |
8 | + - submissao faz um post ajax. | |
8 | 9 | |
9 | 10 | - ctrl-c should ask for confirmation before exiting. |
10 | 11 | - eventos unfocus? | ... | ... |
app.py
... | ... | @@ -63,7 +63,7 @@ class App(object): |
63 | 63 | logger.critical(f'Database not usable {self.testfactory["database"]}.') |
64 | 64 | raise e |
65 | 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 | 68 | # command line option --allow-all |
69 | 69 | if conf['allow_all']: |
... | ... | @@ -290,7 +290,7 @@ class App(object): |
290 | 290 | with self.db_session() as s: |
291 | 291 | u = s.query(Student).filter(Student.id == uid).update({'password': ''}) |
292 | 292 | s.commit() |
293 | - logger.info(f'Student {uid}: password reset to ""') | |
293 | + logger.info(f'Student {uid}: password reset') | |
294 | 294 | |
295 | 295 | def insert_new_student(self, uid, name): |
296 | 296 | try: | ... | ... |