Skip to content

Commit

Permalink
Merge pull request sanic-org#213 from sfstpala/master
Browse files Browse the repository at this point in the history
Make it possible to disable the logo by subclassing Config
  • Loading branch information
seemethere authored Feb 2, 2017
2 parents 31c53d6 + a73a7d1 commit 6f0b095
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sanic/sanic.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,8 @@ def _helper(self, host="127.0.0.1", port=8000, debug=False,

if debug:
log.setLevel(logging.DEBUG)
log.debug(self.config.LOGO)
if self.config.LOGO is not None:
log.debug(self.config.LOGO)

if run_async:
server_settings['run_async'] = True
Expand Down

0 comments on commit 6f0b095

Please sign in to comment.