diff options
author | hut <hut@lepus.uberspace.de> | 2014-10-26 05:45:18 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2014-10-26 05:45:18 +0100 |
commit | 9cee6325c3013fe100d8d7209aad419d7825e0b7 (patch) | |
tree | a834687618f8b2d778c7a7d3c2b700b2a7c5114a /ranger | |
parent | fc138baee9118076e8181096246a484f3611456c (diff) | |
download | ranger-9cee6325c3013fe100d8d7209aad419d7825e0b7.tar.gz |
core.actions: fixed _MacroTemplate.idpattern
Thanks to trupanka for pointing out the problem at https://github.com/hut/ranger/issues/175
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/actions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py index f6c41447..92d626c0 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -33,6 +33,7 @@ MACRO_FAIL = "<\x01\x01MACRO_HAS_NO_VALUE\x01\01>" class _MacroTemplate(string.Template): """A template for substituting macros in commands""" delimiter = ranger.MACRO_DELIMITER + idpattern = r"[_a-z0-9]*" class Actions(FileManagerAware, EnvironmentAware, SettingsAware): # -------------------------- |