Appease the linter

This commit is contained in:
amcmanu3 2023-09-04 18:19:29 -04:00
parent bc71e4e5fd
commit e716198af4
3 changed files with 1 additions and 12 deletions

View File

@ -353,7 +353,7 @@ class Controller:
# TODO: Copy files from the zip file to the new server directory
server_file = create_data["jarfile"]
raise NotImplementedError("Not yet implemented")
self.import_helper.import_java_zip_server()
# self.import_helper.import_java_zip_server()
if data["create_type"] == "minecraft_java":
_create_server_properties_if_needed(
create_data["server_properties_port"],

View File

@ -13,13 +13,6 @@ class ApiUsersUserKeyHandler(BaseApiHandler):
auth_data = self.authenticate_user()
if not auth_data:
return
(
_,
_exec_user_crafty_permissions,
_,
_,
_user,
) = auth_data
if key_id:
key = self.controller.users.get_user_api_key(key_id)
# does this user id exist?

View File

@ -1,14 +1,10 @@
import json
import logging
import os
import time
import tornado.web
import tornado.escape
import bleach
from app.classes.models.crafty_permissions import EnumPermissionsCrafty
from app.classes.shared.helpers import Helpers
from app.classes.shared.file_helpers import FileHelpers
from app.classes.shared.main_models import DatabaseShortcuts
from app.classes.web.base_handler import BaseHandler