diff options
author | toonn <toonn@toonn.io> | 2021-08-27 19:34:50 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2021-08-27 19:34:50 +0200 |
commit | d1bb32bfbeec41fccf7fabfd624000f117415639 (patch) | |
tree | 6851e36d4e7eb61b86b2ff3ef2354e9959e246f9 /examples | |
parent | 40ddcf310ca8398000ab730e48042efe7b80847c (diff) | |
download | ranger-d1bb32bfbeec41fccf7fabfd624000f117415639.tar.gz |
plugin_ipc: Silence encoding lint
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()) |