mirror of
https://github.com/Neocky/pluGET.git
synced 2024-04-29 16:12:30 +00:00
Update plugin_updatechecker.py
Just a quality of life change. Added a sorted option to the plugin list to show it in alphabetical order when displayed.
This commit is contained in:
parent
30f0dd91ac
commit
7a83fa67e0
@ -275,13 +275,13 @@ def check_update_available_installed_plugins(input_selected_object: str, config_
|
|||||||
match config_values.connection:
|
match config_values.connection:
|
||||||
case "sftp":
|
case "sftp":
|
||||||
connection = sftp_create_connection()
|
connection = sftp_create_connection()
|
||||||
plugin_list = sftp_list_all(connection)
|
plugin_list = sorted(sftp_list_all(connection))
|
||||||
case "ftp":
|
case "ftp":
|
||||||
connection = ftp_create_connection()
|
connection = ftp_create_connection()
|
||||||
plugin_list = ftp_list_all(connection)
|
plugin_list = sorted(ftp_list_all(connection))
|
||||||
case _:
|
case _:
|
||||||
plugin_folder_path = config_values.path_to_plugin_folder
|
plugin_folder_path = config_values.path_to_plugin_folder
|
||||||
plugin_list = os.listdir(plugin_folder_path)
|
plugin_list = sorted(os.listdir(plugin_folder_path))
|
||||||
|
|
||||||
plugin_count = plugins_with_udpates = 0
|
plugin_count = plugins_with_udpates = 0
|
||||||
# create simple progress bar from rich
|
# create simple progress bar from rich
|
||||||
|
Loading…
Reference in New Issue
Block a user