1
0
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:
Galonza Peter 2021-12-29 02:00:18 +03:00
parent f9e4fafe9f
commit 422924026a

View File

@ -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"))