mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-18 12:44:24 +01:00
Latest set of changes (#190)
* PEP 8 compliance (#183) * Group imports: standard library, third party, local * Remove unnecessary spaces * Comments should start with a # and a single space * Adding tests for GETs on user facing pages * Adding more user facing tests 51% test coverage * Fixes #182 * Cleaning up Pages Fixes a bug with CSS updating
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
from CTFd.models import db, WrongKeys, Pages, Config, Tracking, Teams, Containers, ip2long, long2ip
|
||||
from flask import current_app as app, g, request, redirect, url_for, session, render_template, abort
|
||||
import os
|
||||
import importlib
|
||||
import glob
|
||||
import importlib
|
||||
import os
|
||||
|
||||
|
||||
def init_plugins(app):
|
||||
@@ -12,4 +10,4 @@ def init_plugins(app):
|
||||
module = '.' + os.path.basename(module)
|
||||
module = importlib.import_module(module, package='CTFd.plugins')
|
||||
module.load(app)
|
||||
print " * Loaded module,", module
|
||||
print(" * Loaded module, %s" % module)
|
||||
|
||||
Reference in New Issue
Block a user