Correcting additional flake8 failures on privacy_server.py
Corrected: E712 comparison to True should be 'if cond is True:' or 'if cond:' E265 block comment should start with '# '
This commit is contained in:
@@ -228,7 +228,7 @@ def analyzeAudioData(chunks, lat, lon, week, sensitivity, overlap,):
|
||||
# Save result and timestamp
|
||||
pred_end = pred_start + 3.0
|
||||
|
||||
if HUMAN_DETECTED == True:
|
||||
if HUMAN_DETECTED is True:
|
||||
p = [('Human_Human', 0.0)] * 10
|
||||
print("HUMAN DETECTED!!!", p)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user