mirror of
https://github.com/cooperhammond/irs.git
synced 2024-12-22 17:35:28 +00:00
Minor bug fixes
This commit is contained in:
parent
e61036dc51
commit
c919e1720e
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue