parent
23b7fcfb42
commit
c12f3fe13d
1 changed files with 5 additions and 3 deletions
|
@ -2,18 +2,20 @@
|
|||
|
||||
from pip._vendor import requests
|
||||
from pip._vendor import tomli
|
||||
import json
|
||||
import glob
|
||||
import os
|
||||
|
||||
def noop():
|
||||
return
|
||||
|
||||
mods = dict()
|
||||
count = dict()
|
||||
count["server"] = 0
|
||||
count["client"] = 0
|
||||
count["both"] = 0
|
||||
|
||||
cache = dict()
|
||||
with open("licenses.json") as f:
|
||||
cache = json.load(f)
|
||||
|
||||
for mod in glob.glob("pack/mods/*.toml"):
|
||||
with open(mod, "r") as f:
|
||||
data = tomli.load(f)
|
||||
|
|
Loading…
Reference in a new issue