diff options
author | hut <hut@lepus.uberspace.de> | 2016-06-02 17:50:09 +0200 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2016-06-02 17:50:09 +0200 |
commit | 24712b901b6f5a02038e5c8b892c1ec63085cca9 (patch) | |
tree | 849b13ac60537facebe8e0a241bfdc7a7c438ac8 /examples/plugin_new_macro.py | |
parent | ea355f491fb10d5ce054c7813d9abdfd3fc68991 (diff) | |
download | ranger-24712b901b6f5a02038e5c8b892c1ec63085cca9.tar.gz |
examples/plugin_new_macro.py: fix spaces
Diffstat (limited to 'examples/plugin_new_macro.py')
-rw-r--r-- | examples/plugin_new_macro.py | 6 |
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 |