mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
[ci] auto-format
This commit is contained in:
parent
e7476a6ae2
commit
86e3597513
1 changed files with 10 additions and 11 deletions
|
|
@ -3,6 +3,7 @@ import json
|
|||
import sys
|
||||
from urllib.request import urlopen
|
||||
|
||||
|
||||
def get_latest_version(plugin_name, category):
|
||||
base_url = "https://github.com/bombsquad-community/plugin-manager/raw/main/"
|
||||
endpoints = {
|
||||
|
|
@ -31,7 +32,6 @@ def get_latest_version(plugin_name, category):
|
|||
latest_version = next(iter(plugin["versions"])) # Gets first key
|
||||
return latest_version
|
||||
|
||||
|
||||
except Exception as e:
|
||||
raise e
|
||||
|
||||
|
|
@ -51,7 +51,6 @@ def update_plugman_json(version):
|
|||
)
|
||||
|
||||
|
||||
|
||||
def update_plugin_json(plugin_info, category):
|
||||
name = plugin_info["plugin_name"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue