Fix pylint

This commit is contained in:
Daniel Schadt 2015-11-20 16:57:27 +01:00
parent b38a3caa4c
commit 7f8c118991

View File

@ -93,6 +93,10 @@ class WSGIServer(cherrypy.wsgiserver.CherryPyWSGIServer):
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'):
basedir = os.path.realpath(os.path.dirname(sys.executable))
app.template_folder = os.path.join(basedir, 'integration', 'templates')