This commit is contained in:
videopi 2022-10-20 18:02:47 +02:00
parent 2bb100aa4d
commit 8b843e701b
1 changed files with 3 additions and 3 deletions

4
app.py
View File

@ -61,8 +61,8 @@ def allowed_file(filename):
# Get Wifi signal level # Get Wifi signal level
def getRSSI(): def getRSSI():
signal = subprocess.run( local_bin + "get_rssi.sh", capture_output=True) signal = subprocess.run( local_bin + "get_rssi.sh", capture_output=True)
signal = str(signal.stdout, 'UTF-8')[:-1][1:] print(signal)
#print(signal) signal = str(signal.stdout, 'UTF-8').strip("-").strip("\n")
return signal return signal
# Blink the Pi led to allow identification # Blink the Pi led to allow identification