Appease the linter

This commit is contained in:
Andrew 2022-08-27 10:44:34 -04:00
parent b10523ae0a
commit 3c14d0f2ee
2 changed files with 2 additions and 4 deletions

View File

@ -115,9 +115,9 @@ class ImportHelpers:
self, server_path, new_server_dir, port, full_jar_path, new_id
):
import_thread = threading.Thread(
target=self.import_threaded_java_zip_server,
target=self.import_threaded_bedrock_server,
daemon=True,
args=(server_path, new_server_dir, port, new_id),
args=(server_path, new_server_dir, port, full_jar_path, new_id),
name=f"{new_id}_bedrock_import",
)
import_thread.start()

View File

@ -5,7 +5,6 @@ import platform
import shutil
import time
import logging
import threading
from peewee import DoesNotExist
# TZLocal is set as a hidden import on win pipeline
@ -17,7 +16,6 @@ from app.classes.models.server_permissions import EnumPermissionsServer
from app.classes.shared.main_models import DatabaseShortcuts
from app.classes.models.users import HelperUsers
from app.classes.models.roles import HelperRoles
from app.classes.models.server_permissions import PermissionsServers
from app.classes.models.management import HelpersManagement
from app.classes.models.servers import HelperServers
from app.classes.controllers.crafty_perms_controller import CraftyPermsController