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 (5,091 stars) (1,927 forks)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

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