diff --git a/powerline/bindings/zsh/__init__.py b/powerline/bindings/zsh/__init__.py index 26800676..ede6870a 100644 --- a/powerline/bindings/zsh/__init__.py +++ b/powerline/bindings/zsh/__init__.py @@ -56,7 +56,7 @@ class Args(object): def string(s): if type(s) is bytes: - return s.decode('utf-8', errors='replace') + return s.decode('utf-8', 'replace') else: return str(s)