mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-02-11 01:04:30 +01:00
@@ -5,7 +5,7 @@ import os
|
||||
|
||||
def init_plugins(app):
|
||||
modules = glob.glob(os.path.dirname(__file__) + "/*")
|
||||
blacklist = {'keys', 'challenges'}
|
||||
blacklist = {'keys', 'challenges', '__pycache__'}
|
||||
for module in modules:
|
||||
module_name = os.path.basename(module)
|
||||
if os.path.isdir(module) and module_name not in blacklist:
|
||||
|
||||
Reference in New Issue
Block a user