From 3bcdd5e169ed439a4f75935752db446d54518dee Mon Sep 17 00:00:00 2001 From: Rolux Date: Tue, 29 Apr 2008 15:16:51 +0200 Subject: [PATCH] some more itunes.py --- ox/itunes.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ox/itunes.py b/ox/itunes.py index 534663d..7e94403 100644 --- a/ox/itunes.py +++ b/ox/itunes.py @@ -87,5 +87,6 @@ class ItunesAlbum: data['type'] = findString(xml, 'listType', '<') return data -test = ItunesAlbum('Rio', 'Duran Duran') -print test.getData() \ No newline at end of file +if __name__ == '__main__': + test = ItunesAlbum('So Red the Rose', 'Arcadia') + print test.getData() \ No newline at end of file