Skip to content

A live bird collage card for your Home Assistant dashboard.

Added a flake8 configuration ini file to configure line length.

Jake Herbst9b12feea5dcb
diff --git a/.flake8 b/.flake8
new file mode 100644
index 00000000..467c30e5
--- /dev/null
+++ b/.flake8
@@ -0,0 +1,3 @@
+[flake8]
+max-line-length = 128
+
diff --git a/scripts/privacy_server.py b/scripts/privacy_server.py
index 2dfa88fb..fefbf819 100755
--- a/scripts/privacy_server.py
+++ b/scripts/privacy_server.py
@@ -504,7 +504,9 @@ def handle_client(conn, addr):
str(entry[1])
post_end = " }"
- post_json = post_begin + post_timestamp + post_lat + post_lon + post_soundscape_id + post_soundscape_start_time + \
+ post_json = post_begin + \
+ post_timestamp + post_lat + post_lon + \
+ post_soundscape_id + post_soundscape_start_time + \
post_soundscape_end_time + post_commonName + post_scientificName + \
post_algorithm + post_confidence + post_end
print(post_json)