CTFd/CTFd

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

Open

#361 opened on 2017年8月23日

GitHub で見る
 (0 comments) (1 reaction) (0 assignees)Python (1,927 forks)batch import
enhancementgood first issue

Repository metrics

Stars
 (5,091 stars)
PR merge metrics
 (平均マージ 7h 54m) (30d で 5 merged PRs)

説明

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

コントリビューターガイド