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