commit
4d0bd03569
|
@ -1,2 +1,2 @@
|
|||
""" DO NOT MODIFY. Auto-generated by build_frontend script """
|
||||
VERSION = "d44fb74a23d83756ed92d5d55f4d81ea"
|
||||
VERSION = "43699d5ec727d3444985a1028d21e0d9"
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -375,7 +375,7 @@ def get_devices(filter, constructor):
|
|||
devices = []
|
||||
for item in items:
|
||||
id = item.get(filter)
|
||||
if id is not None:
|
||||
if (id is not None and item.get("hidden_at") is None):
|
||||
devices.append(constructor(item))
|
||||
|
||||
return devices
|
||||
|
|
|
@ -24,4 +24,10 @@ mv polymer/bower_components/polymer/polymer.html.bak polymer/bower_components/po
|
|||
# Generate the MD5 hash of the new frontend
|
||||
cd ..
|
||||
echo '""" DO NOT MODIFY. Auto-generated by build_frontend script """' > frontend.py
|
||||
echo 'VERSION = "'`md5 -q www_static/frontend.html`'"' >> frontend.py
|
||||
if [ $(command -v md5) ]; then
|
||||
echo 'VERSION = "'`md5 -q www_static/frontend.html`'"' >> frontend.py
|
||||
elif [ $(command -v md5sum) ]; then
|
||||
echo 'VERSION = "'`md5sum www_static/frontend.html | cut -c-32`'"' >> frontend.py
|
||||
else
|
||||
echo 'Could not find a MD5 utility'
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue