forked from p15670423/monkey
Remove unused `report_generating_lock` in `monkey_island/cc/resources/root.py`
This commit is contained in:
parent
536d0bc75c
commit
380afa675a
|
@ -1,5 +1,4 @@
|
||||||
import logging
|
import logging
|
||||||
import threading
|
|
||||||
|
|
||||||
import flask_restful
|
import flask_restful
|
||||||
from flask import jsonify, make_response, request
|
from flask import jsonify, make_response, request
|
||||||
|
@ -16,9 +15,6 @@ logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class Root(flask_restful.Resource):
|
class Root(flask_restful.Resource):
|
||||||
def __init__(self):
|
|
||||||
self.report_generating_lock = threading.Event()
|
|
||||||
|
|
||||||
def get(self, action=None):
|
def get(self, action=None):
|
||||||
if not action:
|
if not action:
|
||||||
action = request.args.get("action")
|
action = request.args.get("action")
|
||||||
|
|
Loading…
Reference in New Issue