Added first serverjar handling

This commit is contained in:
Jan-Luca Bogdan | BEL NET GmbH
2022-06-30 16:45:28 +02:00
parent 0b10a76a3b
commit 9e74d480dd
7 changed files with 88 additions and 7 deletions

View File

@@ -139,7 +139,7 @@ def download_specific_plugin_version_spiget(plugin_id, download_path, version_id
file_size_data = convert_file_size_down(convert_file_size_down(file_size))
console.print(" [not bold][bright_green]Downloaded[bright_magenta] " + (str(file_size_data)).rjust(9) + \
f" MB [cyan]→ [white]{download_path}")
elif file_size < 1000000:
else:
file_size_data = convert_file_size_down(file_size)
console.print(" [not bold][bright_green]Downloaded[bright_magenta] " + (str(file_size_data)).rjust(9) + \
f" KB [cyan]→ [white]{download_path}")