diff --git a/job.py b/job.py index b88ee8f..136869d 100644 --- a/job.py +++ b/job.py @@ -10,6 +10,8 @@ import pytz import socket from shared import PA_JOB_MANAGER_HOST, PA_JOB_MANAGER_PORT +# pylint: disable=no-member + ################################################################################ # Class describing Job in the database, and via sqlalchemy, connected to the DB as well ################################################################################ diff --git a/main.py b/main.py index 52f8450..e74de73 100644 --- a/main.py +++ b/main.py @@ -10,6 +10,8 @@ from shared import CreateSelect, DB_URL import re import socket +# pylint: disable=no-member + ####################################### Flask App globals ####################################### PROD_HOST="pa_web" hostname = socket.gethostname() @@ -30,7 +32,7 @@ from files import Entry, GetJM_Message, ClearJM_Message from person import Person from refimg import Refimg from job import Job, GetNumActiveJobs -from ai import * +from ai import aistats ####################################### GLOBALS ####################################### # allow jinja2 to call these python functions directly @@ -52,4 +54,4 @@ if __name__ == "__main__": if hostname == PROD_HOST: app.run(ssl_context=('/etc/letsencrypt/live/book.depaoli.id.au/cert.pem', '/etc/letsencrypt/live/book.depaoli.id.au/privkey.pem'), host="0.0.0.0", debug=False) else: - app.run(host="0.0.0.0", debug=True) + app.run(host="0.0.0.0", debug=True) \ No newline at end of file