Use parsed args in abcplay.py as the list of files.
authorW. Trevor King <wking@drexel.edu>
Wed, 17 Nov 2010 01:39:53 +0000 (20:39 -0500)
committerW. Trevor King <wking@drexel.edu>
Wed, 17 Nov 2010 01:39:53 +0000 (20:39 -0500)
posts/abcplay/abcplay.py

index 2083edd99ca442680ac013a46ea9dd28d4db1552..c8a40e96737ccf4f55983a75f078cccc9bab209a 100755 (executable)
@@ -117,6 +117,6 @@ if __name__ == '__main__':
 
     p = ABCPlayer()
     try:
-        p.play_files(sys.argv[1:])
+        p.play_files(args)
     finally:
         p.cleanup()