PEP8'd curses_helper.py
This commit is contained in:
@@ -21,6 +21,7 @@ __all__ = ['ESCAPE', 'get_gold', 'show_notification', 'show_help',
|
|||||||
# http://bugs.python.org/issue21088
|
# http://bugs.python.org/issue21088
|
||||||
ESCAPE = 27
|
ESCAPE = 27
|
||||||
|
|
||||||
|
|
||||||
def get_gold():
|
def get_gold():
|
||||||
"""
|
"""
|
||||||
Return the guilded symbol.
|
Return the guilded symbol.
|
||||||
@@ -30,6 +31,7 @@ def get_gold():
|
|||||||
attr = curses.A_BOLD | Color.YELLOW
|
attr = curses.A_BOLD | Color.YELLOW
|
||||||
return symbol, attr
|
return symbol, attr
|
||||||
|
|
||||||
|
|
||||||
def get_arrow(likes):
|
def get_arrow(likes):
|
||||||
"""
|
"""
|
||||||
Return the vote symbol to display, based on the `likes` paramater.
|
Return the vote symbol to display, based on the `likes` paramater.
|
||||||
|
|||||||
Reference in New Issue
Block a user