From 422924026a9a5cad3a63ed10fce3d8792249060e Mon Sep 17 00:00:00 2001
From: Galonza Peter
Date: Wed, 29 Dec 2021 02:00:18 +0300
Subject: [PATCH] fixed variable name
---
src/dashboard.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dashboard.py b/src/dashboard.py
index 1407a75..f204696 100644
--- a/src/dashboard.py
+++ b/src/dashboard.py
@@ -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"))