Commits

Nikolaj Sjujskij committed b401611

Don't hardcode language

  • Participants
  • Parent commits 4dd7c21

Comments (0)

Files changed (1)

File rst2epub/epub.py

         # ...add required metadata fields
         self.package.metadata.add_title(self.title)
         self.package.metadata.add_identifier(self.identifier, True)
-        self.package.metadata.add_language("en")
+        self.package.metadata.add_language(self.language)
 
         # create required NCX file
         # ... add required header fields