mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix C0113 & Exempting R0201 Line as self required.
This commit is contained in:
parent
9ed5cc3c5a
commit
5f8dbd4dc7
@ -212,7 +212,7 @@ class Stats:
|
||||
|
||||
return level_total_size
|
||||
|
||||
def get_server_players(self, server_id):
|
||||
def get_server_players(self, server_id): # pylint: disable=no-self-use
|
||||
|
||||
server = HelperServers.get_server_data_by_id(server_id)
|
||||
|
||||
|
@ -241,7 +241,7 @@ class ServerInstance:
|
||||
)
|
||||
which_java_raw = self.helper.which_java()
|
||||
java_path = which_java_raw + "\\bin\\java"
|
||||
if not str(which_java_raw) == str(self.helper.get_servers_root_dir) or str(
|
||||
if str(which_java_raw) != str(self.helper.get_servers_root_dir) or str(
|
||||
self.helper.get_servers_root_dir
|
||||
) in str(which_java_raw):
|
||||
self.server_command[0] = java_path
|
||||
|
Loading…
Reference in New Issue
Block a user