Browse Source

Lint conformity

pull/124/head
Oliverpool 9 years ago
parent
commit
5942fd8483
  1. 1
      patacrep/latex/__init__.py
  2. 1
      patacrep/songs/__init__.py

1
patacrep/latex/__init__.py

@ -22,6 +22,7 @@ BABEL_LANGUAGES = OrderedDict((
))
def lang2babel(lang):
"""Return the language used by babel, corresponding to the language code"""
try:
return BABEL_LANGUAGES[lang]
except KeyError:

1
patacrep/songs/__init__.py

@ -131,6 +131,7 @@ class Song:
self.titles = []
self.data = {}
self.cached = None
self.lang = None
self._parse(config)
# Post processing of data

Loading…
Cancel
Save