Browse Source

Turn method into static method

pull/217/head
Louis 8 years ago
parent
commit
665f9fa4b9
  1. 3
      patacrep/build.py

3
patacrep/build.py

@ -113,7 +113,8 @@ class Songbook:
if self.has_errors():
raise errors.SongbookError("Some songs contain errors. Stopping as requested.")
def _get_chord_names(self, notation):
@staticmethod
def _get_chord_names(notation):
"""Return a list of chord names, given the user option."""
if notation == "alphascale":
return ["A", "B", "C", "D", "E", "F", "G"]

Loading…
Cancel
Save