vidi-player.py: add missing newlines in error messages
authorAntonio Ospite <ao2@ao2.it>
Mon, 28 Nov 2016 12:41:29 +0000 (13:41 +0100)
committerAntonio Ospite <ao2@ao2.it>
Mon, 28 Nov 2016 12:41:29 +0000 (13:41 +0100)
vidi-player.py

index 62ae575..9b6d144 100755 (executable)
@@ -90,11 +90,11 @@ def main():
 
     overlapping_notes = check_overlapping_notes(midi_file)
     if overlapping_notes:
 
     overlapping_notes = check_overlapping_notes(midi_file)
     if overlapping_notes:
-        sys.stderr.write("Sorry, supporting only midi file with no overlapping notes")
+        sys.stderr.write("Sorry, supporting only midi file with no overlapping notes on channel 0\n")
         return 1
 
     if not os.path.isdir(sys.argv[2]):
         return 1
 
     if not os.path.isdir(sys.argv[2]):
-        sys.stderr.write("The second argument must be the path of the videofont directory")
+        sys.stderr.write("The second argument must be the path of the videofont directory\n")
         usage()
         return 1
 
         usage()
         return 1