about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authoranekos <anekos@snca.net>2015-03-16 22:42:06 +0900
committeranekos <anekos@snca.net>2015-03-16 22:42:06 +0900
commit0492545c160db19f5b810ea79ac916b864ffbc6f (patch)
tree1ba8e6e5869e55551e063883e5e18eb7dd85b10f
parent32c81feeee9d1a9116cf2daa963e5382a95b4ca6 (diff)
downloadranger-0492545c160db19f5b810ea79ac916b864ffbc6f.tar.gz
Fix a typo s/self\.notify/self\.fm\.notify/
-rw-r--r--ranger/config/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index 9bb203b9..b47cb6ad 100644
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -1439,7 +1439,7 @@ class linemode(default_linemode):
             mode = DEFAULT_LINEMODE
 
         if mode not in self.fm.thisfile.linemode_dict:
-            self.notify("Unhandled linemode: `%s'" % mode, bad=True)
+            self.fm.notify("Unhandled linemode: `%s'" % mode, bad=True)
             return
 
         self.fm.thisdir._set_linemode_of_children(mode)