File size: 272 Bytes
907001b
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
def license_loader(lic_dir=LIC_DIR):
    """pass"""
    lics = []
    for ln in os.listdir(lic_dir):
        lp = os.path.join(lic_dir, ln)
        with open(lp) as lf:
            txt = lf.read()
            lic = License(txt)
            lics.append(lic)
    return lics