From f737fc50dfad7ecbf3ea24824ba1348c40b06a8b Mon Sep 17 00:00:00 2001 From: Etzelia Date: Tue, 20 Jul 2021 18:32:18 -0500 Subject: [PATCH] Optimize imports Signed-off-by: Etzelia --- bot/commands.py | 2 +- bot/discord.py | 2 +- models.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bot/commands.py b/bot/commands.py index 15902b6..9c7d1a7 100644 --- a/bot/commands.py +++ b/bot/commands.py @@ -5,8 +5,8 @@ from django.db import close_old_connections from minecraft_manager.api import api from minecraft_manager.bot.utils import get_application -from minecraft_manager.utils import build_application, full_static from minecraft_manager.models import Application, Player +from minecraft_manager.utils import build_application, full_static class Commands(commands.Cog): diff --git a/bot/discord.py b/bot/discord.py index db37568..ffe08bc 100644 --- a/bot/discord.py +++ b/bot/discord.py @@ -6,7 +6,7 @@ import discord from discord.ext import commands from django.conf import settings -from minecraft_manager.models import Application, Ticket, Player +from minecraft_manager.models import Application, Ticket from minecraft_manager.utils import full_reverse logger = logging.getLogger(__name__) diff --git a/models.py b/models.py index 3957297..4fc573a 100644 --- a/models.py +++ b/models.py @@ -1,11 +1,11 @@ import json import logging import os -import pytz -import yaml from datetime import datetime from os.path import basename +import pytz +import yaml from django.conf import settings from django.contrib.auth.models import User from django.db import models