INQ-36 fixing
This commit is contained in:
parent
b32137ccab
commit
1425bb00ad
@ -1 +1 @@
|
||||
{"id": "InQuire.App", "path": "/home/pete/Desktop/TSI/InQuire/App.py", "mtime": 1547483043, "size": 4179, "hash": "9237260f83d0e04f04751bdf9764b9d9", "data_mtime": 1547481119, "deps_mtime": null, "dependencies": ["os", "sqlite3", "py_ldap", "json", "builtins", "abc", "sqlite3.dbapi2", "typing"], "suppressed": ["flask", "ldap"], "child_modules": [], "options": {"quick_and_dirty": false, "disallow_subclassing_any": false, "disallow_untyped_decorators": false, "show_none_errors": true, "warn_unused_ignores": false, "ignore_errors": false, "warn_no_return": true, "disallow_incomplete_defs": false, "no_implicit_optional": false, "mypyc": false, "follow_imports": "silent", "ignore_missing_imports": true, "plugins": [], "disallow_any_unimported": false, "check_untyped_defs": false, "disallow_any_explicit": false, "disallow_untyped_defs": false, "bazel": false, "allow_untyped_globals": false, "strict_optional_whitelist": null, "follow_imports_for_stubs": false, "disallow_any_generics": false, "disallow_untyped_calls": false, "disallow_any_expr": false, "disallow_any_decorated": false, "strict_optional": true, "platform": "linux", "always_false": [], "local_partial_types": false, "always_true": [], "warn_return_any": false}, "dep_prios": [10, 10, 10, 10, 5, 30, 30, 30, 5, 10], "dep_lines": [3, 4, 6, 7, 1, 1, 1, 1, 2, 5], "interface_hash": "ec3f767fde6005996e95c22de8d0695e", "version_id": "0.650", "ignore_all": false}
|
||||
{"child_modules": [], "data_mtime": 1547481119, "dep_lines": [3, 4, 6, 7, 1, 1, 1, 1, 2, 5], "dep_prios": [10, 10, 10, 10, 5, 30, 30, 30, 5, 10], "dependencies": ["os", "sqlite3", "py_ldap", "json", "builtins", "abc", "sqlite3.dbapi2", "typing"], "deps_mtime": null, "hash": "8348518379dbd26da7bba668aea7c5b2", "id": "InQuire.App", "ignore_all": false, "interface_hash": "ec3f767fde6005996e95c22de8d0695e", "mtime": 1547496361, "options": {"allow_untyped_globals": false, "always_false": [], "always_true": [], "bazel": false, "check_untyped_defs": false, "disallow_any_decorated": false, "disallow_any_explicit": false, "disallow_any_expr": false, "disallow_any_generics": false, "disallow_any_unimported": false, "disallow_incomplete_defs": false, "disallow_subclassing_any": false, "disallow_untyped_calls": false, "disallow_untyped_decorators": false, "disallow_untyped_defs": false, "follow_imports": "silent", "follow_imports_for_stubs": false, "ignore_errors": false, "ignore_missing_imports": true, "local_partial_types": false, "mypyc": false, "no_implicit_optional": false, "platform": "linux", "plugins": [], "quick_and_dirty": false, "show_none_errors": true, "strict_optional": true, "strict_optional_whitelist": null, "warn_no_return": true, "warn_return_any": false, "warn_unused_ignores": false}, "path": "/home/pete/Desktop/TSI/InQuire/App.py", "size": 4216, "suppressed": ["flask", "ldap"], "version_id": "0.650"}
|
||||
|
3
App.py
3
App.py
@ -14,6 +14,7 @@ root = "DC=labs,DC=wmi,DC=amu,DC=edu,DC=pl";
|
||||
|
||||
|
||||
app = Flask(__name__)
|
||||
app.secret_key = '846f1df9f7b9ead65e1a9c32a8c3522ebb6c823a6498a0f8'
|
||||
'''
|
||||
with app.app_context():
|
||||
db = g._database = sqlite3.connect(DATABASE)
|
||||
@ -125,7 +126,7 @@ def account():
|
||||
############################################################
|
||||
|
||||
|
||||
app.secret_key = os.urandom(12)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user