about summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2021-08-27 20:31:01 +0200
committertoonn <toonn@toonn.io>2021-08-27 20:31:01 +0200
commit6333f398c4e93501dd9772f24622963712d21e3c (patch)
tree31fb3fb75cb0573827375aaa29320e8d458cfd81 /examples
parent53ccd22dbe37e0e42528e0c405a1a461514e0965 (diff)
parent1df7a7e4865790e907be86f84e52dc6125436b05 (diff)
downloadranger-6333f398c4e93501dd9772f24622963712d21e3c.tar.gz
Merge branch 'pylint3k'
Diffstat (limited to 'examples')
-rw-r--r--examples/plugin_ipc.py3
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())