Closed jkemege closed 7 years ago
Plus when I change the offending line to discogs_client(because that's where Release is at), I get this error with regard to init arguments....:
c:\discogs\tl_out.py(12)
() -> release = discogs.Release(380484) (Pdb) n TypeError: 'init() takes exactly 3 arguments (2 given)'
not sure what to do to fix this condition??
Hi Keven,
You'll need to change this:
release = ds.Release(380484)
to this:
release = ds.release(380484)
Cheers, Rodney
All is ok now... I copied this code from somewhere and thought it was good R to r worked... I thought it was something to do with the discogs_client install... Much thanks!
Keven
---- Rodney Keeling notifications@github.com wrote:
Hi Keven,
You'll need to change this:
release = ds.Release(380484)
to this:release = ds.release(380484)
Cheers, Rodney
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/discogs/discogs_client/issues/84#issuecomment-330657513
why am I getting this error?
with this Python code: import discogs_client as discogs discogs.user_agent = 'jkkGetTrackLists/0.1' ds = discogs.Client(discogs.user_agent, user_token="UyRNtkkPucDKrtMluzIRAvNoWzHjsLLRtfYvsKeG") release = ds.Release(380484) print(release.title) for item in release.tracklist: print(item)
Keven