From 79a49f91458159564ae5a7696797829c6a848a5d Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 24 Dec 2016 05:11:06 -0500 Subject: Absolute import some circular dependencies to appease Python 3.4. --- discord/calls.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'discord/calls.py') diff --git a/discord/calls.py b/discord/calls.py index 334f1d75..d4ec4367 100644 --- a/discord/calls.py +++ b/discord/calls.py @@ -24,8 +24,9 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ -from . import utils import datetime +import discord.utils + from .enums import GuildRegion, try_enum from .member import VoiceState @@ -47,7 +48,7 @@ class CallMessage: def __init__(self, message, **kwargs): self.message = message - self.ended_timestamp = utils.parse_time(kwargs.get('ended_timestamp')) + self.ended_timestamp = discord.utils.parse_time(kwargs.get('ended_timestamp')) self.participants = kwargs.get('participants') @property -- cgit v1.2.3