Commit 33af34013941fd751a1d8e98d3688fc4016a96e0
1 parent
b264128e
Exists in
master
and in
1 other branch
minor updates and fixes
Showing
4 changed files
with
14 additions
and
14 deletions
Show diff stats
aprendizations/main.py
| @@ -178,7 +178,7 @@ def main(): | @@ -178,7 +178,7 @@ def main(): | ||
| 178 | '--------------------------------------------------------------', | 178 | '--------------------------------------------------------------', |
| 179 | sep='\n') | 179 | sep='\n') |
| 180 | sys.exit(1) | 180 | sys.exit(1) |
| 181 | - except LearnException as e: | 181 | + except LearnException: |
| 182 | logging.critical('Failed to start backend') | 182 | logging.critical('Failed to start backend') |
| 183 | sys.exit(1) | 183 | sys.exit(1) |
| 184 | except Exception: | 184 | except Exception: |
aprendizations/questions.py
| @@ -200,7 +200,7 @@ class QuestionCheckbox(Question): | @@ -200,7 +200,7 @@ class QuestionCheckbox(Question): | ||
| 200 | try: | 200 | try: |
| 201 | n = len(self['options']) | 201 | n = len(self['options']) |
| 202 | except KeyError: | 202 | except KeyError: |
| 203 | - msg = f'Missing `options` in radio question. See {self["path"]}' | 203 | + msg = f'Missing `options` in checkbox question. See {self["path"]}' |
| 204 | raise QuestionException(msg) | 204 | raise QuestionException(msg) |
| 205 | except TypeError: | 205 | except TypeError: |
| 206 | msg = f'`options` must be a list. See {self["path"]}' | 206 | msg = f'`options` must be a list. See {self["path"]}' |
package-lock.json
| @@ -3,19 +3,19 @@ | @@ -3,19 +3,19 @@ | ||
| 3 | "lockfileVersion": 1, | 3 | "lockfileVersion": 1, |
| 4 | "dependencies": { | 4 | "dependencies": { |
| 5 | "@fortawesome/fontawesome-free": { | 5 | "@fortawesome/fontawesome-free": { |
| 6 | - "version": "5.12.0", | ||
| 7 | - "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.12.0.tgz", | ||
| 8 | - "integrity": "sha512-vKDJUuE2GAdBERaQWmmtsciAMzjwNrROXA5KTGSZvayAsmuTGjam5z6QNqNPCwDfVljLWuov1nEC3mEQf/n6fQ==" | 6 | + "version": "5.12.1", |
| 7 | + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.12.1.tgz", | ||
| 8 | + "integrity": "sha512-ZtjIIFplxncqxvogq148C3hBLQE+W3iJ8E4UvJ09zIJUgzwLcROsWwFDErVSXY2Plzao5J9KUYNHKHMEUYDMKw==" | ||
| 9 | }, | 9 | }, |
| 10 | "codemirror": { | 10 | "codemirror": { |
| 11 | - "version": "5.51.0", | ||
| 12 | - "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.51.0.tgz", | ||
| 13 | - "integrity": "sha512-vyuYYRv3eXL0SCuZA4spRFlKNzQAewHcipRQCOKgRy7VNAvZxTKzbItdbCl4S5AgPZ5g3WkHp+ibWQwv9TLG7Q==" | 11 | + "version": "5.52.0", |
| 12 | + "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.52.0.tgz", | ||
| 13 | + "integrity": "sha512-K2UB6zjscrfME03HeRe/IuOmCeqNpw7PLKGHThYpLbZEuKf+ZoujJPhxZN4hHJS1O7QyzEsV7JJZGxuQWVaFCg==" | ||
| 14 | }, | 14 | }, |
| 15 | "mdbootstrap": { | 15 | "mdbootstrap": { |
| 16 | - "version": "4.12.0", | ||
| 17 | - "resolved": "https://registry.npmjs.org/mdbootstrap/-/mdbootstrap-4.12.0.tgz", | ||
| 18 | - "integrity": "sha512-+X4x63tE96zpVOcRlVUGdcR65M9Ud+/l1TvdmcwUjEGo3ktn9TO3e6S3DBLTvchO9U5eKuJh/MIWIGac7+569g==" | 16 | + "version": "4.14.0", |
| 17 | + "resolved": "https://registry.npmjs.org/mdbootstrap/-/mdbootstrap-4.14.0.tgz", | ||
| 18 | + "integrity": "sha512-RBa3uB64m1DpO1exIupqQkL0Ca108zpjXnOH+xyJ6bIyr4BJw2djSmWoizQHhN5o1v3ujN3PtNJ3x7k+ITmFRw==" | ||
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | } | 21 | } |
package.json
| @@ -2,9 +2,9 @@ | @@ -2,9 +2,9 @@ | ||
| 2 | "description": "Javascript libraries required to run the server", | 2 | "description": "Javascript libraries required to run the server", |
| 3 | "email": "mjsb@uevora.pt", | 3 | "email": "mjsb@uevora.pt", |
| 4 | "dependencies": { | 4 | "dependencies": { |
| 5 | - "@fortawesome/fontawesome-free": "^5.12.0", | ||
| 6 | - "codemirror": "^5.51.0", | ||
| 7 | - "mdbootstrap": "^4.12.0" | 5 | + "@fortawesome/fontawesome-free": "^5.12.1", |
| 6 | + "codemirror": "^5.52.0", | ||
| 7 | + "mdbootstrap": "^4.14.0" | ||
| 8 | }, | 8 | }, |
| 9 | "private": true | 9 | "private": true |
| 10 | } | 10 | } |