Commits

John "Nightlybuild" Lejeune  committed dc9aa32

Adding French translation to locales

  • Participants
  • Parent commits ee1215d

Comments (0)

Files changed (1)

     return (addr.startswith('http://') or addr.startswith('https://')
             or addr.startswith('ftp://') or addr.startswith('mailto:'))
 
-def page_mime(addr):
+def page_mime(self):
     """Guess the mime type based on the page name."""
 
     file_path = self._file_path(title)
         mime = 'text/x-wiki'
     return mime
 
-
 class WikiConfig(object):
     """
     Responsible for reading and storing site configuration. Contains the