Skip to content

Commit

Permalink
properly pass a constructed serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
t-8ch committed Feb 23, 2021
1 parent 900a40b commit 03873fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oscad/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def main(global_config, **settings):
config.set_session_factory(SignedCookieSessionFactory(
'',
httponly=True,
serializer=JSONSerializer))
serializer=JSONSerializer()))
config.add_subscriber('oscad.subscribers.add_renderer_globals',
'pyramid.events.BeforeRender')
config.add_subscriber('oscad.subscribers.jsonify',
Expand Down

0 comments on commit 03873fc

Please sign in to comment.