Fix issues related to some disk mounts

This commit is contained in:
liaralabs 2020-04-05 18:49:54 -07:00
parent 9d8019e7fd
commit 913cca146a
2 changed files with 5 additions and 2 deletions

View file

@ -53,7 +53,10 @@ def get_mounts():
for line in fstab:
fields = line.strip().split()
if "bind" in str(fields):
mounts.remove(fields[1])
try:
mounts.remove(fields[1])
except:
pass
return mounts
def generate_page_list(user):

View file

@ -161,7 +161,7 @@
</tbody>
{% if (loop.index == 3 and not loop.last) %}
</table>
<table class="collapse" id="collapsediskinfo" aria-expanded="false">
<table class="table table-sm table-dark table-borderless collapse" id="collapsediskinfo" aria-expanded="false">
{% endif %}
{% if loop.last %}
</table>