Update privacy_server.py

This commit is contained in:
Patrick McGuire
2022-04-13 08:26:51 -04:00
committed by GitHub
parent 8080aa7a44
commit 405ffbcafc
+1 -1
View File
@@ -44,7 +44,7 @@ except:
# Open most recent Configuration and grab DB_PWD as a python variable
userDir = os.path.expanduser('~')
with open(userDir + '/BirdNET-Pi/thisrun.txt', 'r') as f:
with open(userDir + '/BirdNET-Pi/scripts/thisrun.txt', 'r') as f:
this_run = f.readlines()
audiofmt = "." + str(str(str([i for i in this_run if i.startswith('AUDIOFMT')]).split('=')[1]).split('\\')[0])