Browse Source

pylint

pull/54/head
Louis 11 years ago
parent
commit
abc3d37014
  1. 5
      songbook

5
songbook

@ -118,7 +118,10 @@ def main():
if isinstance(songbook['datadir'], basestring): if isinstance(songbook['datadir'], basestring):
songbook['datadir'] = [songbook['datadir']] songbook['datadir'] = [songbook['datadir']]
datadirs += [ datadirs += [
os.path.join(os.path.dirname(os.path.abspath(songbook_path)), path) os.path.join(
os.path.dirname(os.path.abspath(songbook_path)),
path
)
for path in songbook['datadir'] for path in songbook['datadir']
] ]
if not datadirs: if not datadirs:

Loading…
Cancel
Save