CTFd/CTFd

Flask reloader causes CTFd to load plugins twice with serve.py

Open

#361 创建于 2017年8月23日

在 GitHub 查看
 (0 评论) (1 反应) (0 负责人)Python (5,091 star) (1,927 fork)batch import
enhancementgood first issue

描述

Flask will cause CTFd to load plugins twice if the reloader is on. This doesn't really affect a production instance but for a serve.py it can be a little gotcha.

Perhaps we can implement a fix from here: https://stackoverflow.com/questions/9449101/how-to-stop-flask-from-initialising-twice-in-debug-mode

贡献者指南