mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-04-19 08:55:12 +00:00
fixed variable name
This commit is contained in:
parent
f9e4fafe9f
commit
422924026a
@ -1124,7 +1124,7 @@ Dashboard Tools Related
|
|||||||
# Get all IP for ping
|
# Get all IP for ping
|
||||||
@app.route('/get_ping_ip', methods=['POST'])
|
@app.route('/get_ping_ip', methods=['POST'])
|
||||||
def get_ping_ip():
|
def get_ping_ip():
|
||||||
config = request.form['config']
|
config_name = request.form['config']
|
||||||
sem.acquire(timeout=1)
|
sem.acquire(timeout=1)
|
||||||
db = TinyDB(os.path.join(db_path, config_name + ".json"))
|
db = TinyDB(os.path.join(db_path, config_name + ".json"))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user