From c6d95602a3658d36dd5262f0759671edae63d489 Mon Sep 17 00:00:00 2001 From: Luthaf Date: Sun, 23 Feb 2014 21:40:49 +0000 Subject: [PATCH] Fix a bug with the command line --- songbook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/songbook.py b/songbook.py index 7dc75e4b..90b332ce 100755 --- a/songbook.py +++ b/songbook.py @@ -57,7 +57,7 @@ def main(): songbook = json.load(songbook_file) if options.datadir is not None: - songbook['datadir'] = options.datadir + songbook['datadir'] = options.datadir[0] elif 'datadir' in songbook.keys(): if not os.path.isabs(songbook['datadir']): songbook['datadir'] = os.path.join(os.path.dirname(songbook_path),