CTFd/CTFd

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

Open

#361 创建于 2017年8月23日

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

仓库指标

Star
 (5,091 star)
PR 合并指标
 (平均合并 7小时 54分钟) (30 天内合并 5 个 PR)

描述

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

贡献者指南