mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 15:20:09 +01: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
|
||||
@app.route('/get_ping_ip', methods=['POST'])
|
||||
def get_ping_ip():
|
||||
config = request.form['config']
|
||||
config_name = request.form['config']
|
||||
sem.acquire(timeout=1)
|
||||
db = TinyDB(os.path.join(db_path, config_name + ".json"))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user