From: Christophe F. <te...@us...> - 2011-07-07 20:04:59
|
commit 6ccb8a62a19e86c297f8ec741008fb1daf7c63ea Author: Christophe Fergeau <te...@gn...> Date: Thu Jul 7 21:59:22 2011 +0200 python: allow passing mountpoint to test program bindings/python/examples/play_with_ipod_api.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) --- diff --git a/bindings/python/examples/play_with_ipod_api.py b/bindings/python/examples/play_with_ipod_api.py index 4780f73..8bc367c 100755 --- a/bindings/python/examples/play_with_ipod_api.py +++ b/bindings/python/examples/play_with_ipod_api.py @@ -1,8 +1,9 @@ #!/usr/bin/python import gpod +import sys -db = gpod.Database() +db = gpod.Database(sys.argv[1]) print db |