From 8938323229f65b021919b9778af598418c8e2eeb Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 29 Sep 2016 11:06:56 +0100 Subject: [PATCH] Fix encoding --- tests/rules/test_remove_trailing_cedilla.py | 2 ++ thefuck/rules/remove_trailing_cedilla.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/rules/test_remove_trailing_cedilla.py b/tests/rules/test_remove_trailing_cedilla.py index 473f8d4..481d471 100644 --- a/tests/rules/test_remove_trailing_cedilla.py +++ b/tests/rules/test_remove_trailing_cedilla.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + import pytest from thefuck.rules.remove_trailing_cedilla import match, get_new_command from tests.utils import Command diff --git a/thefuck/rules/remove_trailing_cedilla.py b/thefuck/rules/remove_trailing_cedilla.py index 9439c06..15124fa 100644 --- a/thefuck/rules/remove_trailing_cedilla.py +++ b/thefuck/rules/remove_trailing_cedilla.py @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + def match(command): return command.script.endswith('รง')