]> arthur.barton.de Git - bup.git/commitdiff
web list-directory: replace != with is not None
authorRob Browning <rlb@defaultvalue.org>
Sat, 9 Oct 2021 15:25:57 +0000 (10:25 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 16 Oct 2021 19:32:42 +0000 (14:32 -0500)
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/web/list-directory.html

index db0720c64486ba01260aba477c4b16f2c20e3678..e9f994a50925f5672dedebf7de6b3f438070170c 100644 (file)
@@ -32,7 +32,7 @@
                     <td class="dir-name">
                       <a href="{% raw link %}">{{ display }}</a>
                     </td>
-                    <td class="dir-size">{% if size != None %}{{ size }}{% else %}&nbsp;{% end %}</td>
+                    <td class="dir-size">{% if size is not None %}{{ size }}{% else %}&nbsp;{% end %}</td>
                 </tr>
                 {% end %}
             </table>