diff --git a/orochi/website/management/commands/plugins_sync.py b/orochi/website/management/commands/plugins_sync.py index 357914bd..9b2c728d 100644 --- a/orochi/website/management/commands/plugins_sync.py +++ b/orochi/website/management/commands/plugins_sync.py @@ -1,10 +1,10 @@ from django.core.management.base import BaseCommand +from django.contrib.auth import get_user_model import volatility3.plugins from volatility3 import framework from volatility3.framework import contexts from orochi.website.models import Plugin, UserPlugin, Dump, Result -from django.contrib.auth import get_user_model class Command(BaseCommand): diff --git a/orochi/ya/schema.py b/orochi/ya/schema.py index 5d60a145..f64a61d0 100644 --- a/orochi/ya/schema.py +++ b/orochi/ya/schema.py @@ -3,8 +3,8 @@ from luqum.elasticsearch import SchemaAnalyzer, ElasticsearchQueryBuilder from luqum.exceptions import ParseSyntaxError from elasticsearch import Elasticsearch -from elasticsearch_dsl import Search from elasticsearch.exceptions import RequestError +from elasticsearch_dsl import Search from pathlib import Path from django.conf import settings