Minor bug fixes

This commit is contained in:
Kepoor Hampond 2017-06-10 18:53:49 -07:00
parent e61036dc51
commit c919e1720e

View file

@ -378,7 +378,11 @@ init, or in method arguments.")
video_url, video_title = self.find_yt_url(song, artist) video_url, video_title = self.find_yt_url(song, artist)
print(self.args["hook-text"].get("song").decode().format(song, artist)) if sys.version_info[0] == 2:
print(self.args["hook-text"].get("song").decode().format(song,
artist))
else:
print(self.args["hook-text"].get("song").format(song, artist))
file_name = data["file_prefix"] + ObjManip.blank(song, False) + ".mp3" file_name = data["file_prefix"] + ObjManip.blank(song, False) + ".mp3"