From f13563e46c5d23336fa35927c174804368ac202a Mon Sep 17 00:00:00 2001 From: Louis Date: Wed, 4 Jun 2014 18:06:41 +0200 Subject: [PATCH] =?UTF-8?q?Dans=20un=20fichier=20.sg,=20datadir=20peut=20?= =?UTF-8?q?=C3=AAtre=20indiff=C3=A9ramment=20une=20cha=C3=AEne=20ou=20une?= =?UTF-8?q?=20liste?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- songbook | 2 ++ 1 file changed, 2 insertions(+) diff --git a/songbook b/songbook index 3f1ee611..ba74e9cc 100755 --- a/songbook +++ b/songbook @@ -110,6 +110,8 @@ def main(): datadirs = [] try: + if isinstance(songbook['datadir'], basestring): + songbook['datadir'] = [songbook['datadir']] for path in songbook['datadir']: if not os.path.isabs(path): datadirs.append(os.path.join(os.path.dirname(songbook_path),