From b5cac0e3855d42489181134a3d9187033b0669dd Mon Sep 17 00:00:00 2001 From: Zedifus Date: Mon, 11 Apr 2022 11:14:32 +0100 Subject: [PATCH] Fix remaining minor lint warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These can't be handled by ⬛black automatically --- app/classes/controllers/server_perms_controller.py | 4 +++- app/classes/minecraft/serverjars.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/classes/controllers/server_perms_controller.py b/app/classes/controllers/server_perms_controller.py index 942bf61b..a2e422aa 100644 --- a/app/classes/controllers/server_perms_controller.py +++ b/app/classes/controllers/server_perms_controller.py @@ -51,7 +51,9 @@ class Server_Perms_Controller: int(role.role_id), int(old_server_id) ), ) - # Permissions_Servers.add_role_server(new_server_id, role.role_id,"00001000") + # Permissions_Servers.add_role_server( + # new_server_id, role.role_id, "00001000" + # ) # ********************************************************************************** # Servers Permissions Methods diff --git a/app/classes/minecraft/serverjars.py b/app/classes/minecraft/serverjars.py index 85f472a1..c6b39607 100644 --- a/app/classes/minecraft/serverjars.py +++ b/app/classes/minecraft/serverjars.py @@ -3,8 +3,8 @@ import threading import time import shutil import logging -import requests from datetime import datetime +import requests from app.classes.controllers.servers_controller import Servers_Controller from app.classes.models.server_permissions import Permissions_Servers