Exemple #1
0
def api_v1_delete_file(filename):
    Rom.objects(filename=filename).delete()
    return '', 200
Exemple #2
0
def delrom(filename):
    Rom.objects(filename=filename).delete()
Exemple #3
0
def check_builds():
    for r in Rom.objects():
        if requests.head(r.url).status_code == 404:
            print("Rom.objects(filename=\"{}\").delete()".format(r.filename))