/docs/gp.fileupload Gawel's repository

fix #2

authorGael Pasgrimaud <gael@gawel.org>
Sat Jun 19 17:08:35 2010 +0200 (2 months ago)
changeset 161c53e81decd64
parent 160 86010d39185b
child 162 e757dcb8949e
fix #2
     1.1 --- a/gp/fileupload/resource.py	Sat Jun 19 17:06:36 2010 +0200
     1.2 +++ b/gp/fileupload/resource.py	Sat Jun 19 17:08:35 2010 +0200
     1.3 @@ -70,7 +70,7 @@
     1.4  
     1.5          match = self._start_head_re.search(html)
     1.6          if match:
     1.7 -            html = html[:match.start()] + css + html[match.start():]
     1.8 +            html = html[:match.end()] + css + html[match.end():]
     1.9  
    1.10          match = self._end_body_re.search(html)
    1.11          if match: