diff options
author | toonn <toonn@toonn.io> | 2021-08-27 20:31:01 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2021-08-27 20:31:01 +0200 |
commit | 6333f398c4e93501dd9772f24622963712d21e3c (patch) | |
tree | 31fb3fb75cb0573827375aaa29320e8d458cfd81 /examples | |
parent | 53ccd22dbe37e0e42528e0c405a1a461514e0965 (diff) | |
parent | 1df7a7e4865790e907be86f84e52dc6125436b05 (diff) | |
download | ranger-6333f398c4e93501dd9772f24622963712d21e3c.tar.gz |
Merge branch 'pylint3k'
Diffstat (limited to 'examples')
-rw-r--r-- | examples/plugin_ipc.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/plugin_ipc.py b/examples/plugin_ipc.py index c6fc60c6..0e7de3bb 100644 --- a/examples/plugin_ipc.py +++ b/examples/plugin_ipc.py @@ -30,6 +30,9 @@ def hook_init(fm): def ipc_reader(filepath): while True: + # The IPC encoding depends on the system locale so we can't + # guess here. + # pylint: disable=unspecified-encoding with open(filepath, 'r') as fifo: line = fifo.read() fm.execute_console(line.strip()) |