From ed5b66d033253a19184c2d41c53cfd237674de66 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Fri, 29 May 2020 10:28:10 -0500 Subject: [PATCH] Fixed audio playback from URL --- src/audio_services/services.py | 4 +--- src/url_shortener/__init__.py | 2 +- src/url_shortener/__main__.py | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/audio_services/services.py b/src/audio_services/services.py index c5d1a8db..eefde7d5 100644 --- a/src/audio_services/services.py +++ b/src/audio_services/services.py @@ -1,9 +1,7 @@ from __future__ import unicode_literals from audio_services import matches_url -import youtube_utils import requests - - +from . import youtube_utils @matches_url('https://audioboom.com') def convert_audioboom(url): diff --git a/src/url_shortener/__init__.py b/src/url_shortener/__init__.py index c543cbfa..419c8170 100644 --- a/src/url_shortener/__init__.py +++ b/src/url_shortener/__init__.py @@ -1,3 +1,3 @@ from __future__ import unicode_literals from . import shorteners -from __main__ import * +from . __main__ import * diff --git a/src/url_shortener/__main__.py b/src/url_shortener/__main__.py index 8c41d766..51ccf8d8 100644 --- a/src/url_shortener/__main__.py +++ b/src/url_shortener/__main__.py @@ -1,6 +1,6 @@ from __future__ import unicode_literals from functools import wraps -import shorteners +from . import shorteners def service_selecter (func):