mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix typo that errors out when importing a server
This commit is contained in:
parent
c6555b53e4
commit
a25ad9295d
@ -226,7 +226,7 @@ class Controller:
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def verify_jar_server( server_path: str, server_jar: str):
|
def verify_jar_server( server_path: str, server_jar: str):
|
||||||
path_check = helper.check_path_exits(server_path)
|
path_check = helper.check_path_exists(server_path)
|
||||||
jar_check = helper.check_file_exists(os.path.join(server_path, server_jar))
|
jar_check = helper.check_file_exists(os.path.join(server_path, server_jar))
|
||||||
if not path_check or not jar_check:
|
if not path_check or not jar_check:
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user