Compare commits
No commits in common. "e7105f18287c4455a52899276c8ebd91353c3587" and "22249ecf7aff2bfbd35aca078c12f98b516b5a1d" have entirely different histories.
e7105f1828
...
22249ecf7a
@ -7,4 +7,4 @@ COPY . .
|
|||||||
|
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
CMD ["python", "main.py"]
|
CMD ["python", "-OO", "main.py"]
|
||||||
|
@ -46,8 +46,6 @@ class YTDLSource(PCMVolumeTransformer):
|
|||||||
if not data["entries"]:
|
if not data["entries"]:
|
||||||
raise Exception("no results found!")
|
raise Exception("no results found!")
|
||||||
data = data["entries"][0]
|
data = data["entries"][0]
|
||||||
if "url" not in data:
|
|
||||||
raise Exception("no url returned!")
|
|
||||||
|
|
||||||
return cls(
|
return cls(
|
||||||
TrackedAudioSource(
|
TrackedAudioSource(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user