Skip to content

Commit

Permalink
Fix CherryPy Config Key (#9)
Browse files Browse the repository at this point in the history
* Fix CherryPy Config Key

Minor fix in CherryPy config options for the ssl configuration.

Signed-off-by: David Brown <dmlb2000@gmail.com>

* Remove MacOS

If we are testing Linux and Windows we are pretty good testing wise.

Signed-off-by: David Brown <dmlb2000@gmail.com>
  • Loading branch information
dmlb2000 committed Nov 3, 2020
1 parent 42f5a8c commit 7530f5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, windows-latest]
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion pacifica/auth/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def load_user():
})
for ssl_config_key in ['ssl_private_key', 'ssl_certificate', 'ssl_certificate_chain']:
if getattr(args, ssl_config_key, False):
cherrypy.config.update({'cherrypy.server.{}'.format(ssl_config_key): getattr(args, ssl_config_key)})
cherrypy.config.update({'server.{}'.format(ssl_config_key): getattr(args, ssl_config_key)})
cherrypy.tools.jinja2env = Environment(
loader=FileSystemLoader(join(dirname(__file__), 'templates'))
)
Expand Down

0 comments on commit 7530f5a

Please sign in to comment.