From 2108d974bd88acacd8dd48c1ce51174fe9d5e4e0 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Mon, 4 Dec 2023 10:04:19 +0100 Subject: init: missing import logging Otherwise: NameError: name 'logging' is not defined is reported. --- ogcp/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ogcp') diff --git a/ogcp/__init__.py b/ogcp/__init__.py index a468101..425e8f8 100644 --- a/ogcp/__init__.py +++ b/ogcp/__init__.py @@ -9,6 +9,7 @@ from flask_wtf.csrf import CSRFProtect from flask_bootstrap import Bootstrap from flask_babel import Babel from flask import Flask +from flask.logging import logging from os import urandom ogcp_cfg_path = 'cfg/ogcp.json' -- cgit v1.2.3-18-g5258