diff options
-rw-r--r-- | ranger/ext/open23.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/ext/open23.py b/ranger/ext/open23.py index 14faf32b..d5320fa3 100644 --- a/ranger/ext/open23.py +++ b/ranger/ext/open23.py @@ -39,8 +39,10 @@ def open23( ) else: if buffering is None: + # pylint: disable=unspecified-encoding fobj = open(name=file, mode=mode) else: + # pylint: disable=unspecified-encoding fobj = open(name=file, mode=mode, buffering=buffering) try: yield fobj |