fix: Undefined functions
This commit is contained in:
@@ -4,7 +4,6 @@ from flask import render_template, Blueprint
|
||||
from flask import request
|
||||
|
||||
from .models import CheaterTeams
|
||||
from . import globals
|
||||
|
||||
from CTFd.plugins.migrations import upgrade
|
||||
from CTFd.utils.decorators import admins_only
|
||||
@@ -32,10 +31,7 @@ def show_cheaters():
|
||||
|
||||
|
||||
def load(app):
|
||||
globals.initialize()
|
||||
app.db.create_all()
|
||||
upgrade(plugin_name="cheaters")
|
||||
|
||||
app.register_blueprint(bp)
|
||||
|
||||
load_hooks()
|
||||
|
||||
Reference in New Issue
Block a user