Fixed 'self' error

This commit is contained in:
Kepoor Hamnond 2017-03-16 00:11:32 +00:00
parent 03949be7ab
commit 88fa4203ae
2 changed files with 4 additions and 4 deletions

View file

@ -74,5 +74,3 @@ def parse_genre(genres):
return genres[0].title()
else:
return ""
#Metadata("Da Frame 2R.mp3").add_album_art("https://i.scdn.co/image/c8931dc7eb717531de93ae0d4626362875c51ba9")

View file

@ -94,7 +94,9 @@ class Ripper:
return locations
def find_yt_url(self, song=None, artist=None, additional_search=parse_search_terms(self)):
def find_yt_url(self, song=None, artist=None, additional_search=None):
if additional_search == None:
additional_search = parse_search_terms(self)
try:
if not song: song = self.args["song_title"]
if not artist: artist = self.args["artist"]