Define info as a conditional value in the song model
This commit is contained in:
parent
cb5b0707bb
commit
f080977e23
@ -14,6 +14,7 @@ class song(object):
|
|||||||
self.size = 0
|
self.size = 0
|
||||||
self.url = ""
|
self.url = ""
|
||||||
self.download_url = ""
|
self.download_url = ""
|
||||||
|
self.info = None
|
||||||
|
|
||||||
def format_track(self):
|
def format_track(self):
|
||||||
return self.extractor.format_track(self)
|
return self.extractor.format_track(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user