Fix style of eq operator

This commit is contained in:
Emirhan Karagül 2022-04-28 00:39:15 +02:00 committed by Fabian Boehm
parent 0e485625ff
commit 908da627b8

View file

@ -141,9 +141,9 @@ def escape_fish_cmd(text):
def strip_one_layer(text, char):
# Strip the text from one layer of a given character
if text[-1]==char:
if text[-1] == char:
text = text[:-1]
if text[0]==char:
if text[0] == char:
text = text[1:]
return text