summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-06-02 17:50:09 +0200
committerhut <hut@lepus.uberspace.de>2016-06-02 17:50:09 +0200
commit24712b901b6f5a02038e5c8b892c1ec63085cca9 (patch)
tree849b13ac60537facebe8e0a241bfdc7a7c438ac8 /examples
parentea355f491fb10d5ce054c7813d9abdfd3fc68991 (diff)
downloadranger-24712b901b6f5a02038e5c8b892c1ec63085cca9.tar.gz
examples/plugin_new_macro.py: fix spaces
Diffstat (limited to 'examples')
-rw-r--r--examples/plugin_new_macro.py6
1 files 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