Fix pylint
This commit is contained in:
parent
b38a3caa4c
commit
7f8c118991
@ -93,6 +93,10 @@ class WSGIServer(cherrypy.wsgiserver.CherryPyWSGIServer):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
# pylint: disable=no-member
|
||||||
|
# "Instance of 'WSGIServer' has no 'start' member (no-member)"
|
||||||
|
# "Instance of 'WSGIServer' has no 'stop' member (no-member)"
|
||||||
|
|
||||||
if hasattr(sys, 'frozen'):
|
if hasattr(sys, 'frozen'):
|
||||||
basedir = os.path.realpath(os.path.dirname(sys.executable))
|
basedir = os.path.realpath(os.path.dirname(sys.executable))
|
||||||
app.template_folder = os.path.join(basedir, 'integration', 'templates')
|
app.template_folder = os.path.join(basedir, 'integration', 'templates')
|
||||||
|
Loading…
Reference in New Issue
Block a user