mirror of
https://github.com/Neocky/pluGET.git
synced 2024-04-29 16:12:30 +00:00
Merge pull request #67 from Neocky/v1.7.3
V1.7.3 - Fixed FTP error while checking
This commit is contained in:
commit
6ea80b9c66
@ -225,8 +225,8 @@ def egg_cracking_jar(plugin_file_name: str) -> str:
|
|||||||
case "ftp":
|
case "ftp":
|
||||||
path_temp_plugin_folder = create_temp_plugin_folder()
|
path_temp_plugin_folder = create_temp_plugin_folder()
|
||||||
connection = ftp_create_connection()
|
connection = ftp_create_connection()
|
||||||
ftp_download_file(connection, plugin_file_name)
|
|
||||||
path_plugin_jar = Path(f"{path_temp_plugin_folder}/{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 _:
|
case _:
|
||||||
path_plugin_folder = config_values.path_to_plugin_folder
|
path_plugin_folder = config_values.path_to_plugin_folder
|
||||||
path_plugin_jar = Path(f"{path_plugin_folder}/{plugin_file_name}")
|
path_plugin_jar = Path(f"{path_plugin_folder}/{plugin_file_name}")
|
||||||
|
Loading…
Reference in New Issue
Block a user