summaryrefslogtreecommitdiffstats
path: root/share/extensions/text_replace.py
diff options
context:
space:
mode:
Diffstat (limited to 'share/extensions/text_replace.py')
-rw-r--r--share/extensions/text_replace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/extensions/text_replace.py b/share/extensions/text_replace.py
index 0d6e501f5..6fb08cd27 100644
--- a/share/extensions/text_replace.py
+++ b/share/extensions/text_replace.py
@@ -5,7 +5,7 @@ class C(chardataeffect.CharDataEffect):
chardataeffect.CharDataEffect.__init__(self)
self.OptionParser.add_option("-f", "--from_text", action="store", type="string", dest="from_text", default="", help="Replace")
self.OptionParser.add_option("-t", "--to_text", action="store", type="string", dest="to_text", default="", help="by")
-
+
def process_chardata(self,text, line, par):
fr = self.options.from_text.strip('"').replace('\$','$')
to = self.options.to_text.strip('"').replace('\$','$')