Skip to content

Commit

Permalink
Move to bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
timmo001 committed May 27, 2022
1 parent b3351cf commit 9f6ccb7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sanic/compat.py
Expand Up @@ -25,10 +25,6 @@ def enable_windows_color_support():
kernel.SetConsoleMode(kernel.GetStdHandle(-11), 7)


def is_atty():
return stdout and stdout.isatty()


class Header(CIMultiDict):
"""
Container used for both request and response headers. It is a subclass of
Expand Down Expand Up @@ -93,3 +89,7 @@ def ctrlc_handler(sig, frame):
die = False
signal.signal(signal.SIGINT, ctrlc_handler)
app.add_task(stay_active)


def is_atty():
return stdout and stdout.isatty()

0 comments on commit 9f6ccb7

Please sign in to comment.