summary refs log tree commit diff stats
path: root/examples/plugin_new_macro.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/plugin_new_macro.py')
-rw-r--r--examples/plugin_new_macro.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/plugin_new_macro.py b/examples/plugin_new_macro.py
index cb4d7413..ce46a558 100644
--- a/examples/plugin_new_macro.py
+++ b/examples/plugin_new_macro.py
@@ -11,7 +11,7 @@ import time
 import ranger.core.actions
 
 # Save the original macro function
-GET_MACROS_OLD = ranger.core.actions.Actions._get_macros  # pylint: disable=protected-access
+GET_MACROS_OLD = ranger.core.actions.Actions.get_macros
 
 
 # Define a new macro function
@@ -22,4 +22,4 @@ def get_macros_with_date(self):
 
 
 # Overwrite the old one
-ranger.core.actions.Actions._get_macros = get_macros_with_date  # pylint: disable=protected-access
+ranger.core.actions.Actions.get_macros = get_macros_with_date