Merge pull request #67 from Neocky/v1.7.3

V1.7.3 - Fixed FTP error while checking
This commit is contained in:
Neocky 2023-02-12 18:28:32 +01:00 committed by GitHub
commit 6ea80b9c66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,8 +225,8 @@ def egg_cracking_jar(plugin_file_name: str) -> str:
case "ftp":
path_temp_plugin_folder = create_temp_plugin_folder()
connection = ftp_create_connection()
ftp_download_file(connection, plugin_file_name)
path_plugin_jar = Path(f"{path_temp_plugin_folder}/{plugin_file_name}")
ftp_download_file(connection, path_plugin_jar, plugin_file_name)
case _:
path_plugin_folder = config_values.path_to_plugin_folder
path_plugin_jar = Path(f"{path_plugin_folder}/{plugin_file_name}")