From 24712b901b6f5a02038e5c8b892c1ec63085cca9 Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 2 Jun 2016 17:50:09 +0200 Subject: examples/plugin_new_macro.py: fix spaces --- examples/plugin_new_macro.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/plugin_new_macro.py b/examples/plugin_new_macro.py index 6757e491..31350387 100644 --- a/examples/plugin_new_macro.py +++ b/examples/plugin_new_macro.py @@ -11,9 +11,9 @@ old_get_macros = ranger.core.actions.Actions._get_macros # Define a new macro function import time def get_macros_with_date(self): - macros = old_get_macros(self) - macros['date'] = time.strftime('%m/%d/%Y') - return macros + macros = old_get_macros(self) + macros['date'] = time.strftime('%m/%d/%Y') + return macros # Overwrite the old one ranger.core.actions.Actions._get_macros = get_macros_with_date -- cgit 1.4.1-2-gfad0