Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
Fix for updated issue #63
Browse files Browse the repository at this point in the history
runserver command option --debug still wasn't used well if app.debug is None.
  • Loading branch information
CTACyok authored Aug 11, 2016
1 parent 2048c22 commit cdf8cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_script/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def __call__(self, app, host, port, use_debugger, use_reloader,
if sys.stderr.isatty():
print("Debugging is on. DANGER: Do not allow random users to connect to this server.", file=sys.stderr)
if use_reloader is None:
use_reloader = app.debug
use_reloader = use_debugger

if None in [ssl_crt, ssl_key]:
ssl_context = None
Expand Down

0 comments on commit cdf8cc0

Please sign in to comment.