mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-16 11:42:15 +00:00
CI: fix Decimal bug
This commit is contained in:
parent
95aa187f2b
commit
4aa94e7db1
@ -30,7 +30,7 @@ for idx, plugins_ in enumerate([plugins, alpha_plugins]):
|
||||
if plug_dict["name"] == plugin:
|
||||
exist = True
|
||||
old_version = decimal.Decimal(plug_dict["version"])
|
||||
plug_dict["version"] = old_version + decimal.Decimal("0.01")
|
||||
plug_dict["version"] = str(old_version + decimal.Decimal("0.01"))
|
||||
plug_dict["size"] = f"{os.path.getsize(f'{list_json_start[idx]}{plugin}{os.sep}main.py') / 1000} kb"
|
||||
if delete:
|
||||
list_json["list"].remove(plug_dict)
|
||||
|
Loading…
Reference in New Issue
Block a user