mirror of https://github.com/akuker/RASCSI.git
Fix static analysis issues
This commit is contained in:
parent
66545e2643
commit
79693949da
|
@ -513,16 +513,18 @@
|
|||
{{ _("The images directory is currently empty.") }}
|
||||
</div>
|
||||
{% endif %}
|
||||
<p><small>{{ _("%(disk_space)s MiB disk space remaining for images", disk_space=env["free_disk_space"]) }}</small></p>
|
||||
</section>
|
||||
<p>
|
||||
<small>{{ _("%(disk_space)s MiB disk space remaining for images", disk_space=env["free_disk_space"]) }}</small>
|
||||
</p>
|
||||
|
||||
{% else %}
|
||||
|
||||
<div class="notice">
|
||||
{{ _("Please create the PiSCSI images dir to work with disk images:")}} {{ env["image_dir"] }}
|
||||
{{ _("Please create the PiSCSI images dir to work with disk images:")}} {{ env["image_dir"] }}
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
</section>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
|
|
@ -305,8 +305,6 @@ def drive_list():
|
|||
"""
|
||||
Sets up the data structures and kicks off the rendering of the drive list page
|
||||
"""
|
||||
server_info = piscsi_cmd.get_server_info()
|
||||
|
||||
return response(
|
||||
template="drives.html",
|
||||
page_title=_("PiSCSI Create Drive"),
|
||||
|
|
Loading…
Reference in New Issue