Closed ZeralldMC closed 1 year ago
The problem here is that your version_id
variable is being set to a tuple. This is because the manifest.filter_latest("1.18.1")
function returns a tuple (version, alias). So you should use version_id, alias = manifest.filter_latest("1.18.1")
instead. The alias variable is a boolean that indicates if the given identifier is an alias or not. By the way for your exemple, it's not that useful to use filter_latest because 1.18.1
, unlike snapshot
or release
, is not an alias.
I have this code in my python app:
I am using the EEL library to run functions through an HTML shell. Here is the console log on startup:
I really don't understand what the problem is. Excuse me if this seems silly to you, but I'm not very good at it.