1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-20 09:39:01 +00:00

fixed linting

This commit is contained in:
ICalhoun 2021-04-05 20:32:49 -04:00
parent abd8800a92
commit 746d4f4497

View File

@ -85,6 +85,7 @@ def confirm_text(corrected_command):
red=color(colorama.Fore.RED), red=color(colorama.Fore.RED),
reset=color(colorama.Style.RESET_ALL))) reset=color(colorama.Style.RESET_ALL)))
def debug(msg): def debug(msg):
if settings.debug: if settings.debug:
sys.stderr.write(u'{blue}{bold}DEBUG:{reset} {msg}\n'.format( sys.stderr.write(u'{blue}{bold}DEBUG:{reset} {msg}\n'.format(