Compare commits

..

No commits in common. "e7105f18287c4455a52899276c8ebd91353c3587" and "22249ecf7aff2bfbd35aca078c12f98b516b5a1d" have entirely different histories.

2 changed files with 1 additions and 3 deletions

View File

@ -7,4 +7,4 @@ COPY . .
RUN pip install -r requirements.txt
CMD ["python", "main.py"]
CMD ["python", "-OO", "main.py"]

View File

@ -46,8 +46,6 @@ class YTDLSource(PCMVolumeTransformer):
if not data["entries"]:
raise Exception("no results found!")
data = data["entries"][0]
if "url" not in data:
raise Exception("no url returned!")
return cls(
TrackedAudioSource(