Mercurial > moin > extensions
changeset 220:362a85e8a378
text_x_arnica: extensions adjusted
author | Reimar Bauer <rb.proj AT googlemail DOT com> |
---|---|
date | Mon, 01 Sep 2008 17:40:19 +0200 |
parents | 3d54ce153f01 |
children | 64d438ab8272 |
files | data/plugin/parser/text_x_arnica.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py Mon Sep 01 17:28:53 2008 +0200 +++ b/data/plugin/parser/text_x_arnica.py Mon Sep 01 17:40:19 2008 +0200 @@ -95,8 +95,9 @@ class Parser: """ arnica parser """ - # ToDo check when only * is used for side effects - extensions = '*.jpg' + + extensions = ['.jpg', '.jpeg', '.gif', '.png'] + def __init__(self, raw, request, **kw): self.pagename = request.page.page_name self.raw = raw